Download api/constants/tts_auto_play_timeout.py from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 137 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/constants/tts_auto_play_timeout.py
- Command line
-
hf download hf://spaces/ZHZ1024/dify/api/constants/tts_auto_play_timeout.py
-
curl -L -o tts_auto_play_timeout.py https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/constants/tts_auto_play_timeout.py
137 Bytes
| TTS_AUTO_PLAY_TIMEOUT = 5 | |
| # sleep 20 ms ( 40ms => 1280 byte audio file,20ms => 640 byte audio file) | |
| TTS_AUTO_PLAY_YIELD_CPU_TIME = 0.02 | |