gorkemgoknar commited on
Commit
5d9a6f9
1 Parent(s): 5a13df4

Update app.py

Browse files

last merged audio should wait 500ms longer to get last word spoken

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -477,7 +477,7 @@ def generate_speech(history):
477
  print("RuntimeError: non device-side assert error:", str(e))
478
  raise e
479
 
480
- time.sleep(0.5)
481
  wav_bytestream = wave_header_chunk() + wav_bytestream
482
  outfile = "combined.wav"
483
  with open(outfile, "wb") as f:
 
477
  print("RuntimeError: non device-side assert error:", str(e))
478
  raise e
479
 
480
+ time.sleep(1.0)
481
  wav_bytestream = wave_header_chunk() + wav_bytestream
482
  outfile = "combined.wav"
483
  with open(outfile, "wb") as f: