Almaatla commited on
Commit
9ffa1c2
·
verified ·
1 Parent(s): 97f5451

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -40,6 +40,7 @@ def read_root(request: Request):
40
  @app.post("/embed")
41
  def embed_strings(request: EmbedRequest):
42
  new_documents = request.texts
 
43
  batch_size = 20
44
 
45
  # Split the new_documents list into batches of 10 documents
 
40
  @app.post("/embed")
41
  def embed_strings(request: EmbedRequest):
42
  new_documents = request.texts
43
+ print(f"Start embedding of {len(new_documents)} docs")
44
  batch_size = 20
45
 
46
  # Split the new_documents list into batches of 10 documents