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

how do i do this

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -29,6 +29,7 @@ with gr.Blocks() as demo:
29
  org_choice= gr.Dropdown(organizations, value="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)
 
29
  org_choice= gr.Dropdown(organizations, value="Alphabet", label="Organizations", info="Pick an organization to explore their environmental disclosures", interactive=True)
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)