You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While upooading a simple pdf file, this is the error that pops up.
IndexError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 589, in _run_script exec(code, module.__dict__)
File "/mount/src/gemini_multipdf_chat/app.py", line 144, in <module> main()
File "/mount/src/gemini_multipdf_chat/app.py", line 103, in main get_vector_store(text_chunks)
File "/mount/src/gemini_multipdf_chat/app.py", line 43, in get_vector_store vector_store = FAISS.from_texts(chunks, embedding=embeddings)
File "/home/adminuser/venv/lib/python3.10/site-packages/langchain_community/vectorstores/faiss.py", line 931, in from_texts return cls.__from(
File "/home/adminuser/venv/lib/python3.10/site-packages/langchain_community/vectorstores/faiss.py", line 888, in __from index = faiss.IndexFlatL2(len(embeddings[0]))```
The text was updated successfully, but these errors were encountered:
While upooading a simple pdf file, this is the error that pops up.
IndexError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
The text was updated successfully, but these errors were encountered: