Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,8 @@ logger.info(f"Loaded {len(case_docs)} documents from {CSV_PATH}.")
|
|
| 94 |
# --- ADD THIS CODE SNIPPET ---
|
| 95 |
|
| 96 |
# Define and configure the embedding model
|
| 97 |
-
EMBED_MODEL_ID = "BAAI/bge-small-en-v1.5"
|
|
|
|
| 98 |
embed_model = HuggingFaceEmbedding(
|
| 99 |
model_name=EMBED_MODEL_ID
|
| 100 |
)
|
|
|
|
| 94 |
# --- ADD THIS CODE SNIPPET ---
|
| 95 |
|
| 96 |
# Define and configure the embedding model
|
| 97 |
+
#EMBED_MODEL_ID = "BAAI/bge-small-en-v1.5"
|
| 98 |
+
EMBED_MODEL_ID = "thenlper/gte-large"
|
| 99 |
embed_model = HuggingFaceEmbedding(
|
| 100 |
model_name=EMBED_MODEL_ID
|
| 101 |
)
|