ModuleNotFoundError: 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 541, in _run_script
exec(code, module.dict)
File “/app/ai-chat-app/app.py”, line 2, in
from dotenv import load_dotenv
Hey @anmol562002,
Can you share the link to your GitHub repo and your deployed app? It sounds like dotenv
hasn’t been added to your requirements.txt
file
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.