Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ def transcribe_audio(audio):
|
|
13 |
)
|
14 |
return predicted_text[0]
|
15 |
|
16 |
-
# Interface
|
17 |
-
inputs = gr.inputs.
|
18 |
outputs = gr.outputs.Textbox(label="Transcription")
|
19 |
title = "Canary ASR"
|
20 |
description = "Transcribe speech from the microphone using the NeMo Canary ASR model."
|
|
|
13 |
)
|
14 |
return predicted_text[0]
|
15 |
|
16 |
+
# Interface with microphone input
|
17 |
+
inputs = gr.inputs.Microphone(label="Speak into the microphone")
|
18 |
outputs = gr.outputs.Textbox(label="Transcription")
|
19 |
title = "Canary ASR"
|
20 |
description = "Transcribe speech from the microphone using the NeMo Canary ASR model."
|