Update app.py
Browse files
app.py
CHANGED
@@ -146,16 +146,12 @@ with gr.Blocks(
|
|
146 |
with gr.Row():
|
147 |
with gr.Column():
|
148 |
gr.HTML(
|
149 |
-
"<p><b>Step 1:</b>
|
150 |
|
151 |
-
|
152 |
-
"You can transcribe longer files locally with this NeMo "
|
153 |
-
"<a href='https://github.com/NVIDIA/NeMo/blob/main/examples/asr/speech_multitask/speech_to_text_aed_chunked_infer.py'>script</a>.</p>"
|
154 |
)
|
155 |
|
156 |
-
audio_file = gr.Audio(sources=["microphone"
|
157 |
-
|
158 |
-
gr.HTML("<p><b>Step 2:</b> Choose the input and output language.</p>")
|
159 |
|
160 |
|
161 |
with gr.Column():
|
|
|
146 |
with gr.Row():
|
147 |
with gr.Column():
|
148 |
gr.HTML(
|
149 |
+
"<p><b>Step 1:</b> Record with your microphone.</p>"
|
150 |
|
151 |
+
|
|
|
|
|
152 |
)
|
153 |
|
154 |
+
audio_file = gr.Audio(sources=["microphone"], type="filepath")
|
|
|
|
|
155 |
|
156 |
|
157 |
with gr.Column():
|