Module 'whisper' has no attribute 'load_model'

File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/”, line 565, in _run_script
exec(code, module.dict)

File “/app/whisper/”, line 19, in
model = whisper.load_model(“medium”)
AttributeError: module ‘whisper’ has no attribute ‘load_model’

Github Repo

I have solved this issue but new issue has arised
The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: read tcp> read: connection reset by peer

I guess streamlit cannot handle large file

How could we upload large model on streamlit cloud

You could use Git-LFS

Here is an example: