ahmedJaafari commited on
Commit
72979b7
·
1 Parent(s): f5046db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def inference(audio):
51
 
52
  return output[:-4]
53
 
54
- inputs = gr.inputs.Audio(label="Record Audio", source="microphone", type='filepath')
55
  outputs = gr.outputs.Textbox(label="Output Text")
56
  title = "Annarabic Speech Recognition System"
57
  description = "Gradio demo for Annarabic ASR. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
 
51
 
52
  return output[:-4]
53
 
54
+ inputs = gr.inputs.Audio(label="Record Audio", source="microphone", type='file')
55
  outputs = gr.outputs.Textbox(label="Output Text")
56
  title = "Annarabic Speech Recognition System"
57
  description = "Gradio demo for Annarabic ASR. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."