prthm11 commited on
Commit
4675a7f
·
verified ·
1 Parent(s): 52894bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2404,7 +2404,8 @@ def similarity_matching(sprites_data: dict, project_folder: str) -> str:
2404
  """
2405
  logger.info("🔍 Running similarity matching with FAISS...")
2406
  os.makedirs(project_folder, exist_ok=True)
2407
-
 
2408
  # Lazily load the model and FAISS index on the first call
2409
  load_model_and_index()
2410
 
 
2404
  """
2405
  logger.info("🔍 Running similarity matching with FAISS...")
2406
  os.makedirs(project_folder, exist_ok=True)
2407
+
2408
+ project_json_path = os.path.join(project_folder, 'project.json')
2409
  # Lazily load the model and FAISS index on the first call
2410
  load_model_and_index()
2411