Commit
·
1382f7e
1
Parent(s):
eae18c0
Forgot to add .launch()
Browse files
app.py
CHANGED
@@ -77,4 +77,6 @@ with gr.Blocks() as demo:
|
|
77 |
plot = gr.Plot(label="Individual & Voting Predictions")
|
78 |
button = gr.Button(label="Update Plot")
|
79 |
button.click(fn=app_fn, inputs=[n], outputs=[plot])
|
80 |
-
demo.load(fn=app_fn, inputs=[n], outputs=[plot])
|
|
|
|
|
|
77 |
plot = gr.Plot(label="Individual & Voting Predictions")
|
78 |
button = gr.Button(label="Update Plot")
|
79 |
button.click(fn=app_fn, inputs=[n], outputs=[plot])
|
80 |
+
demo.load(fn=app_fn, inputs=[n], outputs=[plot])
|
81 |
+
|
82 |
+
demo.launch()
|