Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def audio_to_audio_chatbot(audio):
|
|
| 28 |
if __name__ == "__main__":
|
| 29 |
iface = gr.Interface(
|
| 30 |
fn=audio_to_audio_chatbot,
|
| 31 |
-
inputs=gr.Audio(
|
| 32 |
outputs= gr.Textbox(),
|
| 33 |
#outputs=[gr.Audio(), gr.Textbox()],
|
| 34 |
title="Audio-zu-Audio-Chatbot (Streaming)",
|
|
|
|
| 28 |
if __name__ == "__main__":
|
| 29 |
iface = gr.Interface(
|
| 30 |
fn=audio_to_audio_chatbot,
|
| 31 |
+
inputs=gr.Audio(type="filepath"),
|
| 32 |
outputs= gr.Textbox(),
|
| 33 |
#outputs=[gr.Audio(), gr.Textbox()],
|
| 34 |
title="Audio-zu-Audio-Chatbot (Streaming)",
|