Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "/
|
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
|