Spaces:
Sleeping
Sleeping
Tushar Malik
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -412,7 +412,7 @@ def create_vector_db_and_annoy_index(pdf_path, vector_db_path, annoy_index_path)
|
|
| 412 |
# Cell 9: Run the store embeddings function (example)
|
| 413 |
# Replace 'example.pdf' with your PDF file path.
|
| 414 |
# It will create 'vector_db.pkl' and 'vector_index.ann'
|
| 415 |
-
create_vector_db_and_annoy_index(
|
| 416 |
|
| 417 |
# # Cell 10: Query the chatbot with user input
|
| 418 |
# async def query_chatbot():
|
|
|
|
| 412 |
# Cell 9: Run the store embeddings function (example)
|
| 413 |
# Replace 'example.pdf' with your PDF file path.
|
| 414 |
# It will create 'vector_db.pkl' and 'vector_index.ann'
|
| 415 |
+
create_vector_db_and_annoy_index(pdf_path, 'vector_db.pkl', 'vector_index.ann')
|
| 416 |
|
| 417 |
# # Cell 10: Query the chatbot with user input
|
| 418 |
# async def query_chatbot():
|