Spaces:
Runtime error
Runtime error
ahmedJaafari
commited on
Commit
·
f5046db
1
Parent(s):
f248737
Update app.py
Browse files
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='
|
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='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."
|