" ‘…’, format=“audio/wav”, loop=False, autoplay=False)
File “/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py”, line 397, in wrapped_func
result = non_optional_func(*args, **kwargs)
" ‘…’, format=“audio/wav”, loop=False, autoplay=False)
File “/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py”, line 397, in wrapped_func
result = non_optional_func(*args, **kwargs)
this is the link:
https://wyt-bigdata.streamlit.app/
GitHub url: https://github.com/wyt3721/seismic_data_analysis/blob/main/app.py
And the same codes works well on local.I don’t know the reason.
FYI
This is because you have streamlit 1.33 in your requirements.txt, but that version does not have an autoplay argument: st.audio - Streamlit Docs
You must be using 1.34 locally.
If you update requirements.txt to have streamlit 1.34, it should be fixed.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.