Hi there, I ran into an issue as I was trying to deploy my streamlit app. Here’s a list of errors I encountered:
ValueError: 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/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)File "/app/langchaingptdocuments/main.py", line 7, in <module>
from ingest_data import embed_docFile "/app/langchaingptdocuments/ingest_data.py", line 10, in <module>
loader = UnstructuredFileLoader("state_of_the_union.txt")File "/home/appuser/venv/lib/python3.9/site-packages/langchain/document_loaders/unstructured.py", line 65, in __init__
super().__init__(mode=mode)File "/home/appuser/venv/lib/python3.9/site-packages/langchain/document_loaders/unstructured.py", line 17, in __init__
raise ValueError(
I appreciate any help you can provide as I am in need of finishing the project as soon as possible.
Thank you all.