Madiharehan commited on
Commit
073411f
·
verified ·
1 Parent(s): 3bf7e40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(source="microphone", type="filepath"),
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!",