Spaces:
Runtime error
Runtime error
ASG Models
commited on
Update app.py
Browse files
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((
|
| 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):
|