Spaces:
Runtime error
Runtime error
dropdown change event
Browse files
app.py
CHANGED
@@ -36,8 +36,11 @@ with block:
|
|
36 |
)
|
37 |
with gr.Group():
|
38 |
with gr.Box():
|
39 |
-
sz = gr.Dropdown(
|
40 |
-
|
|
|
|
|
|
|
41 |
link = gr.Textbox(label="YouTube Link")
|
42 |
text = gr.Textbox(
|
43 |
label="Transcription",
|
|
|
36 |
)
|
37 |
with gr.Group():
|
38 |
with gr.Box():
|
39 |
+
sz = gr.Dropdown(
|
40 |
+
label="Model Size",
|
41 |
+
choices=['base', 'small', 'medium', 'large'],
|
42 |
+
value='base'
|
43 |
+
).change(change_model, inputs=[sz], outputs=[])
|
44 |
link = gr.Textbox(label="YouTube Link")
|
45 |
text = gr.Textbox(
|
46 |
label="Transcription",
|