Update app.py
Browse files
app.py
CHANGED
|
@@ -167,4 +167,4 @@ def upload_database(file: UploadFile = File(...)):
|
|
| 167 |
#global documents
|
| 168 |
#documents = index.reconstruct_n(0, index.ntotal).tolist()
|
| 169 |
|
| 170 |
-
return {"message": f"Database uploaded with {
|
|
|
|
| 167 |
#global documents
|
| 168 |
#documents = index.reconstruct_n(0, index.ntotal).tolist()
|
| 169 |
|
| 170 |
+
return {"message": f"Database uploaded with {index.ntotal} embeddings"}
|