Anne31415 commited on
Commit
16f7be1
·
verified ·
1 Parent(s): 54bfbb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -525,13 +525,13 @@ def page3():
525
 
526
  # Initialize CromA client and collection
527
  chroma_client = chromadb.Client()
528
- collection = chroma_client.create_collection(name="Kosten_Strukturdaten")
529
 
530
  # Add the extracted text from PDF to the Chroma collection
531
  collection.add(
532
  documents=[pdf_text],
533
  metadatas=[{"source": pdf_path3}], # Add any relevant metadata for your document
534
- ids=[("Kosten_Strukturdaten")]
535
  )
536
 
537
  display_chat_history(st.session_state['chat_history_page3'])
 
525
 
526
  # Initialize CromA client and collection
527
  chroma_client = chromadb.Client()
528
+ collection = chroma_client.create_collection(name="Kosten_Strukturdaten0602204")
529
 
530
  # Add the extracted text from PDF to the Chroma collection
531
  collection.add(
532
  documents=[pdf_text],
533
  metadatas=[{"source": pdf_path3}], # Add any relevant metadata for your document
534
+ ids=[("Kosten_Strukturdaten0602204")]
535
  )
536
 
537
  display_chat_history(st.session_state['chat_history_page3'])