SalexAI commited on
Commit
be8583c
·
verified ·
1 Parent(s): 7b786dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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()