Spaces:
Runtime error
Runtime error
use upload audio instead
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ gradio_ui = gr.Interface(
|
|
50 |
article = """
|
51 |
This demo showcases two pretrained STT models the first model from speechbrain(wave2vec+CTC models)(1,2gb) is 30 times larger compared to the coqui STT (deepspeech model)(45mb).
|
52 |
""",
|
53 |
-
inputs=[ gr.inputs.Audio(
|
54 |
outputs=[gr.outputs.Textbox(label="Recognized speech from speechbrain model"),
|
55 |
gr.outputs.Textbox(label="Recognized speech from coqui STT model"),
|
56 |
gr.outputs.Textbox(label="Recognized speech from NVIDIA conformer ctc large model")]
|
|
|
50 |
article = """
|
51 |
This demo showcases two pretrained STT models the first model from speechbrain(wave2vec+CTC models)(1,2gb) is 30 times larger compared to the coqui STT (deepspeech model)(45mb).
|
52 |
""",
|
53 |
+
inputs=[ gr.inputs.Audio(label="Upload Audio File", type="file", optional=False)],
|
54 |
outputs=[gr.outputs.Textbox(label="Recognized speech from speechbrain model"),
|
55 |
gr.outputs.Textbox(label="Recognized speech from coqui STT model"),
|
56 |
gr.outputs.Textbox(label="Recognized speech from NVIDIA conformer ctc large model")]
|