Update app.py
Browse files
app.py
CHANGED
@@ -20,4 +20,6 @@ def echo(audio):
|
|
20 |
for audio_chunk in tts_model.stream_tts_sync(prompt):
|
21 |
yield audio_chunk
|
22 |
|
23 |
-
stream = Stream(ReplyOnPause(echo), modality="audio", mode="send-receive")
|
|
|
|
|
|
20 |
for audio_chunk in tts_model.stream_tts_sync(prompt):
|
21 |
yield audio_chunk
|
22 |
|
23 |
+
stream = Stream(ReplyOnPause(echo), modality="audio", mode="send-receive")
|
24 |
+
|
25 |
+
stream.fastphone()
|