Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -151,18 +151,6 @@ with block:
|
|
151 |
"""
|
152 |
)
|
153 |
with gr.Group():
|
154 |
-
with gr.Box():
|
155 |
-
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
156 |
-
audio = gr.Audio(
|
157 |
-
label="Input Audio",
|
158 |
-
show_label=False,
|
159 |
-
source="microphone",
|
160 |
-
type="filepath"
|
161 |
-
)
|
162 |
-
|
163 |
-
btn = gr.Button("Transcribe")
|
164 |
-
text = gr.Textbox(show_label=False)
|
165 |
-
|
166 |
btn.click(inference, inputs=[audio], outputs=[text])
|
167 |
|
168 |
# add a paragraph to show the details
|
|
|
151 |
"""
|
152 |
)
|
153 |
with gr.Group():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
btn.click(inference, inputs=[audio], outputs=[text])
|
155 |
|
156 |
# add a paragraph to show the details
|