Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def chatbot(audio):
|
|
| 59 |
# Gradio interface
|
| 60 |
iface = gr.Interface(
|
| 61 |
fn=chatbot,
|
| 62 |
-
inputs=gr.Audio(
|
| 63 |
outputs=[gr.Textbox(label="Transcription"), gr.Audio(label="AI Response")],
|
| 64 |
live=True
|
| 65 |
)
|
|
|
|
| 59 |
# Gradio interface
|
| 60 |
iface = gr.Interface(
|
| 61 |
fn=chatbot,
|
| 62 |
+
inputs=gr.Audio(type="filepath"),
|
| 63 |
outputs=[gr.Textbox(label="Transcription"), gr.Audio(label="AI Response")],
|
| 64 |
live=True
|
| 65 |
)
|