mirror of
				https://github.com/langgenius/dify.git
				synced 2025-11-04 04:43:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			137 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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
 |