I was trying the audio.py file in the examples folder, but encounter TypeError. It doesn’t play correctly with just a ‘do…’ sound all the way. What is the missing encoding here…? Kindly advise. Thanks.
Hi ShewLin,
It looks like you’re running from the current release of streamlit (pip install streamlit
) while using the develop
version of examples/audio.py
. I can totally understand how this mismatch would happen during normal usage.
The current release number is 0.48.1. The feature to play URLs was just merged into develop
over the weekend, and will be released in the upcoming version 0.49.0 within a few days.
So you have three options here:
- use the audio.py example from the current release (0.48.1)
- install streamlit from the develop branch.
- wait a couple days.
Thanks for trying out Streamlit! Let us know if we can be of any more help.
Thanks for your reply. Also, thanks for pointing out the different release versions and suggesting few alternatives. Will take note of the differences in release version and looking forward the new release ~