dammy commited on
Commit
42d5877
·
1 Parent(s): 9035153

Update app.py

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