Here my link to git GitHub - Vkdel001/chatbotcode1
When running this code , I am getting module not found error when running frontend.py
I have updated requirments.txt also
Can you help
Here my link to git GitHub - Vkdel001/chatbotcode1
When running this code , I am getting module not found error when running frontend.py
I have updated requirments.txt also
Can you help
requirements.txt
os
python-dotenv
instead of dotenv
Hi
I did the changes …Now I am getting this error …anything else I am missing
❗️ Streamlit server consistently failed status checks
Hi
Thanks Franky1 for the inputs
I have been able to solve errors and the app is now showing on streamlit
https://emtelchatbot.streamlit.app/
Only issue is now , while loading the file , there is an error …
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 789: invalid start byte
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/app/chatbotcode1/frontend.py", line 93, in <module>
data=load_document(file_name)
File "/app/chatbotcode1/frontend.py", line 29, in load_document
data =loader.load()
File "/home/appuser/venv/lib/python3.9/site-packages/langchain/document_loaders/text.py", line 54, in load
raise RuntimeError(f"Error loading {self.file_path}") from e
RuntimeError: Error loading ./blink.txt
Looks like you are using a different encoding which is not compatible, you might want to try different encodings or use chardet
module to find it
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.