Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
osanseviero
commited on
Commit
•
c5dddb2
1
Parent(s):
8f03ebf
Refresh upon load
Browse files
app.py
CHANGED
@@ -165,5 +165,6 @@ with gr.Blocks() as demo:
|
|
165 |
with gr.Row():
|
166 |
refresh_button = gr.Button("Refresh")
|
167 |
refresh_button.click(refresh, inputs=[], outputs=[main_dataframe, cat_dataframe, chal_dataframe])
|
|
|
168 |
|
169 |
demo.launch()
|
|
|
165 |
with gr.Row():
|
166 |
refresh_button = gr.Button("Refresh")
|
167 |
refresh_button.click(refresh, inputs=[], outputs=[main_dataframe, cat_dataframe, chal_dataframe])
|
168 |
+
block.load(refresh, inputs=[], outputs=[main_dataframe, cat_dataframe, chal_dataframe])
|
169 |
|
170 |
demo.launch()
|