Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
·
ded18d5
1
Parent(s):
2d3a398
Update app.py
Browse files
app.py
CHANGED
@@ -176,5 +176,7 @@ with gr.Blocks() as demo:
|
|
176 |
with gr.Row():
|
177 |
refresh_button = gr.Button("Refresh")
|
178 |
refresh_button.click(refresh, inputs=[], outputs=[num_submissions, main_dataframe, cat_dataframe, chal_dataframe])
|
|
|
|
|
179 |
|
180 |
demo.launch()
|
|
|
176 |
with gr.Row():
|
177 |
refresh_button = gr.Button("Refresh")
|
178 |
refresh_button.click(refresh, inputs=[], outputs=[num_submissions, main_dataframe, cat_dataframe, chal_dataframe])
|
179 |
+
|
180 |
+
block.load(refresh, inputs=[], outputs=[num_submissions, main_dataframe, cat_dataframe, chal_dataframe])
|
181 |
|
182 |
demo.launch()
|