No module named Whisper when deploy on SL community cloud

Hi everyone, I encounter some troubles hosting the app on Streamlit. It works well locally. I tried searching for this topic on the community site but there isn’t a lot of info. Could anyone help?

This is the link to the app: https://msf-audio-demo.streamlit.app/
This is the repo: https://github.com/lishing/whisper-demo

Error message:

2023-12-20 13:36:51.110 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/whisper-demo/app.py", line 4, in <module>
    import whisper
ModuleNotFoundError: No module named 'whisper'
2023-12-20 13:36:51.225 503 GET /script-health-check (10.12.229.206) 117.17ms

Try a reboot of the app.

Hi Franky1, thanks for the help! It seems to work now.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.