modernai commited on
Commit
82258fb
·
verified ·
1 Parent(s): cf30e6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ with gr.Blocks() as demo:
32
  amount = gr.Number(value=0)
33
  button = gr.Button(value="Submit")
34
  plot = gr.Plot(label="Portfolio Composition Chart")
35
- demo.load(create_portfolio_graph, inputs=[amount, button], outputs=[title, plot])
36
  button.click(create_portfolio_graph, [amount], plot)
37
 
38
  if __name__ == "__main__":
 
32
  amount = gr.Number(value=0)
33
  button = gr.Button(value="Submit")
34
  plot = gr.Plot(label="Portfolio Composition Chart")
35
+ demo.load(create_portfolio_graph, inputs=[amount], outputs=[plot])
36
  button.click(create_portfolio_graph, [amount], plot)
37
 
38
  if __name__ == "__main__":