Spaces:
Sleeping
Sleeping
Commit
•
7c1b028
1
Parent(s):
9593b55
Update app.py
Browse files
app.py
CHANGED
@@ -169,12 +169,13 @@ with gr.Blocks() as demo:
|
|
169 |
update_dashboard,
|
170 |
inputs=None,
|
171 |
outputs=[gauge_output, treemap_output, leaderboard_output],
|
|
|
172 |
)
|
173 |
-
gr.Button("Refresh").click(
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
)
|
178 |
|
179 |
if __name__ == "__main__":
|
180 |
demo.launch()
|
|
|
169 |
update_dashboard,
|
170 |
inputs=None,
|
171 |
outputs=[gauge_output, treemap_output, leaderboard_output],
|
172 |
+
every=5,
|
173 |
)
|
174 |
+
#gr.Button("Refresh").click(
|
175 |
+
# update_dashboard,
|
176 |
+
# inputs=None,
|
177 |
+
# outputs=[gauge_output, treemap_output, leaderboard_output],
|
178 |
+
#)
|
179 |
|
180 |
if __name__ == "__main__":
|
181 |
demo.launch()
|