st.audio
does not take a numpy array?
#3434
Labels
type:docs
Requests for changes to docs (will be rerouted to docs repo)
st.audio
does not take a numpy array?
#3434
Link to doc page in question (if any):
https://docs.streamlit.io/en/stable/api.html#streamlit.audio
Name of the Streamlit feature whose docs need improvement:
streamlit.audio
What you think the docs should say:
The documentation states that
streamlit.audio
can take a numpyndarray
containing raw sample data and display an audio player. I tried this as follows on a local host:It successfully displays an audio player and throws no errors, however there is no available sound.
Please let me know if I am doing anything wrong. Otherwise I think the documentation might be incorrect.
Related SO post https://stackoverflow.com/questions/68007304/st-audio-does-not-take-a-numpy-array
The text was updated successfully, but these errors were encountered: