sasha HF Staff commited on
Commit
ae1aa6b
·
1 Parent(s): 769fd81
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -27,8 +27,10 @@ with gr.Blocks() as demo:
27
  with gr.Row():
28
  with gr.Column(scale=1):
29
  org_choice= gr.Dropdown(organizations, default="Alphabet", label="Organizations", info="Pick an organization to explore their environmental disclosures", interactive=True)
30
- org_choice.select(generate_figure, inputs=org_choice, outputs=fig)
31
  with gr.Column(scale=4):
32
  gr.Plot(fig)
33
 
 
 
34
  demo.launch()
 
27
  with gr.Row():
28
  with gr.Column(scale=1):
29
  org_choice= gr.Dropdown(organizations, default="Alphabet", label="Organizations", info="Pick an organization to explore their environmental disclosures", interactive=True)
30
+
31
  with gr.Column(scale=4):
32
  gr.Plot(fig)
33
 
34
+ org_choice.select(generate_figure, inputs=org_choice, outputs=fig)
35
+
36
  demo.launch()