SpicyqSama007 commited on
Commit
5defd8e
1 Parent(s): 7a0182a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -184,7 +184,12 @@ def create_demo():
184
 
185
  text_input = gr.Textbox(label="Or type your message", type="text",value="Can you give a brief introduction of yourself?")
186
 
187
- output_audio = gr.Audio(label="Assistant's Voice", type="numpy")
 
 
 
 
 
188
 
189
  send_button = gr.Button("Send", variant="primary")
190
  clear_button = gr.Button("Clear")
 
184
 
185
  text_input = gr.Textbox(label="Or type your message", type="text",value="Can you give a brief introduction of yourself?")
186
 
187
+ output_audio = gr.Audio(
188
+ label="Assistant's Voice",
189
+ streaming=True,
190
+ autoplay=True,
191
+ interactive=False,
192
+ )
193
 
194
  send_button = gr.Button("Send", variant="primary")
195
  clear_button = gr.Button("Clear")