sasha HF Staff commited on
Commit
ebb1ee0
·
1 Parent(s): 695c876

should it be a list?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,6 +32,6 @@ with gr.Blocks() as demo:
32
  fig = generate_figure(org_choice)
33
  gr.Plot(fig)
34
 
35
- org_choice.select(generate_figure, inputs=org_choice, outputs=fig)
36
 
37
  demo.launch()
 
32
  fig = generate_figure(org_choice)
33
  gr.Plot(fig)
34
 
35
+ org_choice.select(generate_figure, inputs=[org_choice], outputs=[fig])
36
 
37
  demo.launch()