albertvillanova HF staff commited on
Commit
ad269a2
·
verified ·
1 Parent(s): 893d4cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -12,6 +12,10 @@ with gr.Blocks() as demo:
12
  dropdown = gr.Dropdown(label="Select", multiselect=True, choices=["a0", "b0"])
13
  state = gr.State()
14
 
 
 
 
 
15
  demo.load(
16
  fn=init_choices,
17
  outputs=state,
@@ -20,5 +24,4 @@ with gr.Blocks() as demo:
20
  inputs=state,
21
  outputs=dropdown,
22
  )
23
-
24
- demo.launch()
 
12
  dropdown = gr.Dropdown(label="Select", multiselect=True, choices=["a0", "b0"])
13
  state = gr.State()
14
 
15
+
16
+ demo.launch()
17
+
18
+ """
19
  demo.load(
20
  fn=init_choices,
21
  outputs=state,
 
24
  inputs=state,
25
  outputs=dropdown,
26
  )
27
+ """