jeffh commited on
Commit
b2d62a1
·
1 Parent(s): c16cc52

dropdown change event

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -36,8 +36,11 @@ with block:
36
  )
37
  with gr.Group():
38
  with gr.Box():
39
- sz = gr.Dropdown(label="Model Size", choices=['base','small', 'medium', 'large'], value='base')
40
- sz.change(change_model, inputs=[sz], outputs=[])
 
 
 
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",