dify / api /constants /tts_auto_play_timeout.py
Severian's picture
initial commit
a8b3f00
raw
history blame
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