modernai commited on
Commit
b19d417
·
verified ·
1 Parent(s): 51029e5

Update app.py

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