YALCINKAYA commited on
Commit
a47c058
·
verified ·
1 Parent(s): e7602b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ highest_label = None
35
  loaded_models = {}
36
 
37
  # Define upload directory and FAISS index file
38
- UPLOAD_DIR = "/home/user/app/"
39
  faiss_index_file = os.path.join(UPLOAD_DIR, "faiss_index.bin")
40
 
41
  # Ensure upload directory exists and has write permissions
 
35
  loaded_models = {}
36
 
37
  # Define upload directory and FAISS index file
38
+ UPLOAD_DIR = "/app/uploads"
39
  faiss_index_file = os.path.join(UPLOAD_DIR, "faiss_index.bin")
40
 
41
  # Ensure upload directory exists and has write permissions