Spaces:
Runtime error
Runtime error
updating audio
Browse files
app.py
CHANGED
@@ -139,19 +139,11 @@ with block:
|
|
139 |
with gr.Group():
|
140 |
with gr.Box():
|
141 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
142 |
-
audio = gr.Audio(
|
143 |
-
|
144 |
-
show_label=False,
|
145 |
-
source="audio",
|
146 |
-
type="filepath"
|
147 |
-
)
|
148 |
-
|
149 |
btn = gr.Button("Transcribe")
|
150 |
text = gr.Textbox(show_label=False)
|
151 |
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
btn.click(transcription, inputs=[audio], outputs=[text])
|
156 |
|
157 |
gr.HTML('''
|
|
|
139 |
with gr.Group():
|
140 |
with gr.Box():
|
141 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
142 |
+
audio = gr.Audio()
|
143 |
+
with gr.Blocks(css=css) as demo:
|
|
|
|
|
|
|
|
|
|
|
144 |
btn = gr.Button("Transcribe")
|
145 |
text = gr.Textbox(show_label=False)
|
146 |
|
|
|
|
|
|
|
147 |
btn.click(transcription, inputs=[audio], outputs=[text])
|
148 |
|
149 |
gr.HTML('''
|