prthm11 commited on
Commit
7446b5b
·
verified ·
1 Parent(s): 0d00d37

Update app_main.py

Browse files
Files changed (1) hide show
  1. app_main.py +3 -2
app_main.py CHANGED
@@ -252,8 +252,9 @@ def similarity_matching(input_json_path: str) -> str:
252
  # ============================== #
253
  # DEFINE PATHS #
254
  # ============================== #
255
- backdrop_images_path = r"E:\Pratham\2025\Harsh Sir\Scratch Vision\images\Backdrops"
256
- sprite_images_path = r"E:\Pratham\2025\Harsh Sir\Scratch Vision\images\sprites"
 
257
  image_dirs = [backdrop_images_path, sprite_images_path]
258
 
259
 
 
252
  # ============================== #
253
  # DEFINE PATHS #
254
  # ============================== #
255
+ backdrop_images_path = os.getenv("BACKDROP_FOLDER_PATH", "/app/reference/backdrops")
256
+ sprite_images_path = os.getenv("SPRITE_FOLDER_PATH", "/app/reference/sprites")
257
+
258
  image_dirs = [backdrop_images_path, sprite_images_path]
259
 
260