Update app.py
Browse files
app.py
CHANGED
|
@@ -165,10 +165,10 @@ with gr.Blocks() as demo:
|
|
| 165 |
# Hidden but expandable textbox
|
| 166 |
with gr.Accordion("Optional: Type Instead of Speaking", open=False):
|
| 167 |
typed_message = gr.Textbox(label="Manual Text Input")
|
| 168 |
-
|
| 169 |
-
chatbot = gr.Chatbot()
|
| 170 |
-
|
| 171 |
-
audio_in = gr.Audio(
|
| 172 |
audio_out = gr.Audio(label="TTS Output")
|
| 173 |
|
| 174 |
system_message = gr.Textbox(
|
|
|
|
| 165 |
# Hidden but expandable textbox
|
| 166 |
with gr.Accordion("Optional: Type Instead of Speaking", open=False):
|
| 167 |
typed_message = gr.Textbox(label="Manual Text Input")
|
| 168 |
+
|
| 169 |
+
chatbot = gr.Chatbot(type="messages")
|
| 170 |
+
|
| 171 |
+
audio_in = gr.Audio(label="Press to Speak", type="filepath")
|
| 172 |
audio_out = gr.Audio(label="TTS Output")
|
| 173 |
|
| 174 |
system_message = gr.Textbox(
|