Update app.py
Browse files39 unmodified lines40414243444539 unmodified lines@app.post("/embed")def embed_strings(request: EmbedRequest):new_documents = request.textsbatch_size = 20# Split the new_documents list into batches of 10 documents39 unmodified lines4041424344454639 unmodified lines@app.post("/embed")def embed_strings(request: EmbedRequest):new_documents = request.textsprint(f"Start embedding of {len(new_documents)} docs")batch_size = 20# Split the new_documents list into batches of 10 documents
app.py+1