ASG Models commited on
Commit
49e9ba8
·
verified ·
1 Parent(s): 75eb310

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ def add_message(history, message):
188
  if message["text"] is not None:
189
  history.append((message["text"], None))
190
  response_audio = genrate_speech(message["text"],'asg2024/vits-ar-sa-huba')
191
- history.append((None,gr.Audio(response_audio,scale=1,streaming=True)))
192
  return history, gr.MultimodalTextbox(value=None, interactive=False)
193
 
194
  def bot(history,message):
 
188
  if message["text"] is not None:
189
  history.append((message["text"], None))
190
  response_audio = genrate_speech(message["text"],'asg2024/vits-ar-sa-huba')
191
+ history.append((gr.Audio(response_audio,scale=1,streaming=True),None))
192
  return history, gr.MultimodalTextbox(value=None, interactive=False)
193
 
194
  def bot(history,message):