singhankur01 commited on
Commit
804b10a
·
verified ·
1 Parent(s): 8ca2283

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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