Uncategorized

python – Issue regarding the Machine Learning App Hosting in Streamlit Cloud


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/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 535, in _run_script
exec(code, module.dict)
File “/mount/src/mlstreamlit/streamlit_app.py”, line 2, in
from transformers import pipeline —- the above issue is regarding the an Machine Learning APP builded using Streamlit library — The Exact issue was the app is working in localhost but is not deploying/ unable to host the app in streamlit cloud. So, please help in solving this issue

Suggestion or Solution to solve the above issue.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *