ziyingsk commited on
Commit
f121f74
·
verified ·
1 Parent(s): f04f227

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -79,6 +79,7 @@ if uploaded_file is not None:
79
  index.delete(delete_all=True, namespace='ns1')
80
  for ids_vectors_chunk in chunks(example_data_generator, batch_size=100):
81
  index.upsert(vectors=ids_vectors_chunk, namespace='ns1')
 
82
 
83
  # Input for the search query
84
  sample_query = st.text_input("Stellen Sie eine Frage zu dem PDF: (Ask a question related to the PDF:)")
 
79
  index.delete(delete_all=True, namespace='ns1')
80
  for ids_vectors_chunk in chunks(example_data_generator, batch_size=100):
81
  index.upsert(vectors=ids_vectors_chunk, namespace='ns1')
82
+ index.upsert(vectors=ids_vectors_chunk)
83
 
84
  # Input for the search query
85
  sample_query = st.text_input("Stellen Sie eine Frage zu dem PDF: (Ask a question related to the PDF:)")