ggoknar commited on
Commit
f24201b
1 Parent(s): 404ae8a

add 0.5 second at paragraph end to calculate fulla udio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -480,7 +480,7 @@ def generate_speech(history):
480
  # yield (combined_file_name, history
481
 
482
  wav_bytestream = wave_header_chunk() + wav_bytestream
483
- time.sleep(0.3)
484
  yield (gr.Audio.update(value=None, autoplay=False), history)
485
  yield (gr.Audio.update(value=wav_bytestream, autoplay=False), history)
486
 
 
480
  # yield (combined_file_name, history
481
 
482
  wav_bytestream = wave_header_chunk() + wav_bytestream
483
+ time.sleep(0.5)
484
  yield (gr.Audio.update(value=None, autoplay=False), history)
485
  yield (gr.Audio.update(value=wav_bytestream, autoplay=False), history)
486