Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,10 +53,10 @@ title = "Hausa Automatic Speech Recognition"
|
|
53 |
|
54 |
examples = [["Sample/sample1.mp3"], ["Sample/sample2.mp3"], ["Sample/sample3.mp3"]]
|
55 |
|
56 |
-
Input = gr.Audio(source="microphone", type="filepath")
|
57 |
|
58 |
Output = gr.Textbox(label="Hausa Script")
|
59 |
|
60 |
description = "This application displays transcribed text for given audio input"
|
61 |
|
62 |
-
gr.Interface(asr_transcript, inputs = Input,
|
|
|
53 |
|
54 |
examples = [["Sample/sample1.mp3"], ["Sample/sample2.mp3"], ["Sample/sample3.mp3"]]
|
55 |
|
56 |
+
Input = gr.Audio(source="microphone", type="filepath", label="Please Record Your Voice")
|
57 |
|
58 |
Output = gr.Textbox(label="Hausa Script")
|
59 |
|
60 |
description = "This application displays transcribed text for given audio input"
|
61 |
|
62 |
+
gr.Interface(asr_transcript, inputs = Input, outputs = Output, title = title, flagging_options=["incorrect", "worst", "ambiguous"], description= description, examples=examples).launch()
|