I am using a cross-platform notification library (notify-py · PyPI), primarily for sound (because, for some reason, the usual sound libraries: playsound, pyttsx3, etc…) do not work (with Python 3.11 ?), even locally.
Notify-py works perfectly in a local setting, but not on streamlit cloud.
I’d prefer to use a TTS library that works with Python 3.11 on streamlit cloud
As a 2nd alternative, I’d prefer to be able to play an (mp3 / wav) file on streamlit cloud, automatically, without clicking any button.
notify-py can only send notifications to the system where the application is running. If you want something to happen in the client computer you need to do it through the browser.