Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ async def lifespan(app: FastAPI):
|
|
| 53 |
# Load models into the shared dictionary
|
| 54 |
ml_models["embedder"] = HuggingFaceEmbeddings(model_name="BAAI/bge-base-en-v1.5",
|
| 55 |
encode_kwargs={
|
| 56 |
-
"batch_size": 64
|
| 57 |
"normalize_embeddings": True
|
| 58 |
}
|
| 59 |
show_progress_bar= False
|
|
|
|
| 53 |
# Load models into the shared dictionary
|
| 54 |
ml_models["embedder"] = HuggingFaceEmbeddings(model_name="BAAI/bge-base-en-v1.5",
|
| 55 |
encode_kwargs={
|
| 56 |
+
"batch_size": 64,
|
| 57 |
"normalize_embeddings": True
|
| 58 |
}
|
| 59 |
show_progress_bar= False
|