Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,8 +55,8 @@ async def lifespan(app: FastAPI):
|
|
| 55 |
encode_kwargs={
|
| 56 |
"batch_size": 64,
|
| 57 |
"normalize_embeddings": True
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
)
|
| 61 |
### to make it faster we are now using our built reranker thats why commenting the code below
|
| 62 |
cross_encoder_model = HuggingFaceCrossEncoder(model_name="BAAI/bge-reranker-base")
|
|
|
|
| 55 |
encode_kwargs={
|
| 56 |
"batch_size": 64,
|
| 57 |
"normalize_embeddings": True
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
)
|
| 61 |
### to make it faster we are now using our built reranker thats why commenting the code below
|
| 62 |
cross_encoder_model = HuggingFaceCrossEncoder(model_name="BAAI/bge-reranker-base")
|