DSatishchandra commited on
Commit
d4cb6bb
·
verified ·
1 Parent(s): c744a6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def save_conversation():
107
  # Gradio Interface
108
  iface = gr.Interface(
109
  fn=process_order,
110
- inputs=gr.Audio(source="microphone", type="filepath"),
111
  outputs=[gr.Textbox(label="Text Response"), gr.Audio(label="Audio Response")],
112
  title="Restaurant Voice Assistant",
113
  description="Talk to our voice assistant to place your order or ask about the menu!",
 
107
  # Gradio Interface
108
  iface = gr.Interface(
109
  fn=process_order,
110
+ inputs=gr.Audio(type="filepath"), # No need for "source"
111
  outputs=[gr.Textbox(label="Text Response"), gr.Audio(label="Audio Response")],
112
  title="Restaurant Voice Assistant",
113
  description="Talk to our voice assistant to place your order or ask about the menu!",