Spaces:
Runtime error
Runtime error
change optional microphone to true
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(label="Upload Audio File", type="file", optional=True), gr.inputs.Audio(source="microphone", type="file", optional=
|
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 transduver 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=True), gr.inputs.Audio(source="microphone", type="file", optional=True, label="Record from microphone")],
|
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 transduver large model")]
|