Spaces:
Running on L40S
Running on L40S
Update app.py
Browse files
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(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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")
|