lvwerra HF staff commited on
Commit
c73cf94
1 Parent(s): 1edea07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,5 +95,5 @@ with gr.Blocks() as demo:
95
  md = gr.Markdown("")
96
 
97
  button.click(fn=compute, inputs=[N, D], outputs=[md, plot])
98
-
99
  demo.launch()
 
95
  md = gr.Markdown("")
96
 
97
  button.click(fn=compute, inputs=[N, D], outputs=[md, plot])
98
+ demo.load(fn=compute, inputs=[N, D], outputs=[md, plot])
99
  demo.launch()