Update app.py
Browse files
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:)")
|