kurianbenoy commited on
Commit
17c370b
1 Parent(s): f21fcbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -68,7 +68,9 @@ def end2endpipeline(filename):
68
 
69
  demo = gradio.Interface(
70
  fn=end2endpipeline,
71
- inputs=gradio.inputs.Image(shape=(512, 512)),
 
 
72
  outputs=gradio.outputs.Label(num_top_classes=5),
73
  **interface_options,
74
  )
 
68
 
69
  demo = gradio.Interface(
70
  fn=end2endpipeline,
71
+ inputs=gradio.inputs.Audio(
72
+ source="microphone", type="filepath", label="Record/ Drop audio"
73
+ ),
74
  outputs=gradio.outputs.Label(num_top_classes=5),
75
  **interface_options,
76
  )