Spaces:
Sleeping
Sleeping
Commit
•
fcf0aa2
1
Parent(s):
5086b00
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def stream_audio(state):
|
|
106 |
print(f"Sample of length: {round(new_audio.shape[0] / sampling_rate, 2)} seconds")
|
107 |
story += f"{sentence}\n"
|
108 |
yield story, numpy_to_mp3(new_audio, sampling_rate=sampling_rate)
|
109 |
-
time.sleep(
|
110 |
|
111 |
|
112 |
with gr.Blocks() as block:
|
|
|
106 |
print(f"Sample of length: {round(new_audio.shape[0] / sampling_rate, 2)} seconds")
|
107 |
story += f"{sentence}\n"
|
108 |
yield story, numpy_to_mp3(new_audio, sampling_rate=sampling_rate)
|
109 |
+
time.sleep(5)
|
110 |
|
111 |
|
112 |
with gr.Blocks() as block:
|