sasha HF Staff pngwn HF Staff commited on
Commit
471fe17
·
verified ·
1 Parent(s): ebb1ee0

Update app.py (#1)

Browse files

- Update app.py (820b3e5e0cfca08dd1c18606506e8a3be5ccefa0)


Co-authored-by: Pete <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,8 +30,8 @@ with gr.Blocks() as demo:
30
 
31
  with gr.Column(scale=4):
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()
 
30
 
31
  with gr.Column(scale=4):
32
  fig = generate_figure(org_choice)
33
+ plt = gr.Plot(fig)
34
 
35
+ org_choice.select(generate_figure, inputs=[org_choice], outputs=[plt])
36
 
37
  demo.launch()