Ngadou commited on
Commit
c2d51d1
1 Parent(s): ccf5103

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def classify_audio(audio):
50
 
51
  gr.Interface(
52
  fn=classify_audio,
53
- inputs=gr.inputs.Audio(source="upload", type="filepath"),
54
  outputs=[
55
  gr.outputs.Textbox(label="Transcription"),
56
  gr.outputs.Textbox(label="Classification"),
 
50
 
51
  gr.Interface(
52
  fn=classify_audio,
53
+ inputs=gr.inputs.Audio(source="upload", type="numpy"),
54
  outputs=[
55
  gr.outputs.Textbox(label="Transcription"),
56
  gr.outputs.Textbox(label="Classification"),