Files
urbanLifeline/dify/api/constants/tts_auto_play_timeout.py
2025-12-01 17:21:38 +08:00

5 lines
137 B
Python

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