Spaces:
Runtime error
Runtime error
ahmedJaafari
commited on
Commit
·
3c850b8
1
Parent(s):
cebdabc
Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,6 @@ inputs = gr.inputs.Audio(label="Record Audio", source="microphone", type='file')
|
|
52 |
outputs = gr.outputs.Textbox(label="Output Text")
|
53 |
title = "Annarabic Speech Recognition System"
|
54 |
description = 'Demo for <b>Annarabic ASR</b>. To use it, simply upload your audio, or click on one of the examples to load them. Only the 10 first seconds of the audio will be transcribed and GPU runtime is not used. For more information, contact Ahmed Jaafari via email: <a href = "mailto: [email protected]">[email protected]</a> or phone: <a href = "tel: +212658537105">+212658537105</a>.'
|
55 |
-
examples=[['Aya.mp3'], ['Loubna.mp3'], ['Omar.wav'], ['Yassir.wav']]
|
56 |
-
article="* The ASR never trained on the given examples."
|
57 |
-
gr.Interface(inference, inputs, outputs, title=title, description=description
|
|
|
52 |
outputs = gr.outputs.Textbox(label="Output Text")
|
53 |
title = "Annarabic Speech Recognition System"
|
54 |
description = 'Demo for <b>Annarabic ASR</b>. To use it, simply upload your audio, or click on one of the examples to load them. Only the 10 first seconds of the audio will be transcribed and GPU runtime is not used. For more information, contact Ahmed Jaafari via email: <a href = "mailto: [email protected]">[email protected]</a> or phone: <a href = "tel: +212658537105">+212658537105</a>.'
|
55 |
+
#examples=[['Aya.mp3'], ['Loubna.mp3'], ['Omar.wav'], ['Yassir.wav']]
|
56 |
+
#article="* The ASR never trained on the given examples."
|
57 |
+
gr.Interface(inference, inputs, outputs, title=title, description=description).launch()
|