albertvillanova HF Staff commited on
Commit
d93f52e
·
verified ·
1 Parent(s): 71f5eaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -16,6 +16,10 @@ with gr.Blocks() as demo:
16
  demo.load(
17
  fn=init_choices,
18
  outputs=state,
 
 
 
 
19
  )
20
 
21
 
 
16
  demo.load(
17
  fn=init_choices,
18
  outputs=state,
19
+ ).then(
20
+ fn=lambda x: gr.Dropdown(choices=x),
21
+ inputs=state,
22
+ outputs=dropdown2,
23
  )
24
 
25