prasanth345 commited on
Commit
7e97c4c
·
verified ·
1 Parent(s): aab08da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def voice_agent(audio):
23
  # Gradio interface
24
  interface = gr.Interface(
25
  fn=voice_agent,
26
- inputs=gr.Audio(source="microphone", type="filepath"),
27
  outputs=[
28
  gr.Textbox(label="Agent Response"),
29
  gr.Audio(label="Voice Response")
 
23
  # Gradio interface
24
  interface = gr.Interface(
25
  fn=voice_agent,
26
+ inputs=gr.Audio(type="filepath"),
27
  outputs=[
28
  gr.Textbox(label="Agent Response"),
29
  gr.Audio(label="Voice Response")