Spaces:
Runtime error
Runtime error
Madiharehan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def chatbot(audio):
|
|
89 |
# Create a Gradio interface
|
90 |
iface = gr.Interface(
|
91 |
fn=chatbot,
|
92 |
-
inputs=gr.Audio(
|
93 |
outputs="audio",
|
94 |
title="Voice-to-Voice Chatbot",
|
95 |
description="Speak to the chatbot and listen to the response!",
|
|
|
89 |
# Create a Gradio interface
|
90 |
iface = gr.Interface(
|
91 |
fn=chatbot,
|
92 |
+
inputs=gr.Audio(type="filepath"), # Updated to remove 'source'
|
93 |
outputs="audio",
|
94 |
title="Voice-to-Voice Chatbot",
|
95 |
description="Speak to the chatbot and listen to the response!",
|