Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,7 @@ def upload_pdf(file):
|
|
60 |
collection.add(
|
61 |
embeddings=doc_emb,
|
62 |
documents=texts,
|
63 |
-
ids=ids
|
64 |
-
metadata = ["Page": 1, "Section": "diagnosis/prognosis"]
|
65 |
)
|
66 |
|
67 |
return run_query("how to reduce waste?")
|
|
|
60 |
collection.add(
|
61 |
embeddings=doc_emb,
|
62 |
documents=texts,
|
63 |
+
ids=ids
|
|
|
64 |
)
|
65 |
|
66 |
return run_query("how to reduce waste?")
|