ahmedJaafari commited on
Commit
89ca095
·
verified ·
1 Parent(s): 87589b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def classify_audio(audio):
34
  iface = gr.Interface(
35
  fn=classify_audio,
36
  inputs=[
37
- gr.Microphone(type="filepath", label="Record Audio"),
38
  ],
39
  outputs=[
40
  gr.HTML(label="Service"), # Colored HTML output for service
 
34
  iface = gr.Interface(
35
  fn=classify_audio,
36
  inputs=[
37
+ gr.Audio(type="filepath", label="Record Audio"),
38
  ],
39
  outputs=[
40
  gr.HTML(label="Service"), # Colored HTML output for service