Spaces:
Runtime error
Runtime error
gorkemgoknar
commited on
Commit
•
5d9a6f9
1
Parent(s):
5a13df4
Update app.py
Browse fileslast merged audio should wait 500ms longer to get last word spoken
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
|
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:
|