Spaces:
Runtime error
Runtime error
Commit
·
1cbf289
1
Parent(s):
fe703ad
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ def inference(audio):
|
|
50 |
inputs = gr.inputs.Audio(label="Input Audio", type="file")
|
51 |
outputs = gr.outputs.Textbox(label="Output Text")
|
52 |
title = "Annarabic Speech Recognition System"
|
53 |
-
description = 'Demo for Annarabic ASR
|
54 |
-
examples=[['Aya.mp3'], ['Loubna.mp3'], ['Omar.
|
55 |
-
|
|
|
|
50 |
inputs = gr.inputs.Audio(label="Input Audio", type="file")
|
51 |
outputs = gr.outputs.Textbox(label="Output Text")
|
52 |
title = "Annarabic Speech Recognition System"
|
53 |
+
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 me via email: <a href = "mailto: [email protected]">[email protected]</a> or phone: <a href = "tel: +212658537105">+212658537105</a>.'
|
54 |
+
examples=[['Aya.mp3'], ['Loubna.mp3'], ['Omar.wav'], ['Yassir.wav']]
|
55 |
+
article="* The model never trained on the given examples"
|
56 |
+
gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, examples=examples).launch()
|