Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
8b95278
1
Parent(s):
ded18d5
Update app.py
Browse files
app.py
CHANGED
@@ -175,8 +175,7 @@ with gr.Blocks() as demo:
|
|
175 |
|
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()
|
|
|
175 |
|
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 |
+
demo.load(refresh, inputs=[], outputs=[num_submissions, main_dataframe, cat_dataframe, chal_dataframe])
|
|
|
180 |
|
181 |
demo.launch()
|