Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ CORS(app, origins=["http://127.0.0.1:3000", "http://localhost:3000", "https://ra
|
|
13 |
# --- Configuration ---
|
14 |
INDEX_FILE = "index.faiss"
|
15 |
MAP_FILE = "index_to_metadata.pkl"
|
16 |
-
EMBEDDING_MODEL = 'all-
|
17 |
# Corrected path joining for model_data_json - relative to app.py location
|
18 |
MODEL_DATA_DIR = os.path.join(os.path.dirname(__file__), 'model_data_json')
|
19 |
# ---
|
|
|
13 |
# --- Configuration ---
|
14 |
INDEX_FILE = "index.faiss"
|
15 |
MAP_FILE = "index_to_metadata.pkl"
|
16 |
+
EMBEDDING_MODEL = 'all-mpnet-base-v2'
|
17 |
# Corrected path joining for model_data_json - relative to app.py location
|
18 |
MODEL_DATA_DIR = os.path.join(os.path.dirname(__file__), 'model_data_json')
|
19 |
# ---
|