Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ def text_to_speech(text, audio_file=None):
|
|
196 |
output.write(audio_segment)
|
197 |
|
198 |
# Stream the current progress
|
199 |
-
yield output_file
|
200 |
|
201 |
# Add silence after each segment
|
202 |
if segment.endswith("...") or segment.endswith("…"):
|
|
|
196 |
output.write(audio_segment)
|
197 |
|
198 |
# Stream the current progress
|
199 |
+
# yield output_file
|
200 |
|
201 |
# Add silence after each segment
|
202 |
if segment.endswith("...") or segment.endswith("…"):
|