how do i do this
Browse files
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)
|