Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks(css=custom_css) as iface:
|
|
137 |
def update_uptime():
|
138 |
return get_uptime()
|
139 |
|
140 |
-
|
141 |
|
142 |
# Run and Push to HuggingFace
|
143 |
def run_and_push():
|
|
|
137 |
def update_uptime():
|
138 |
return get_uptime()
|
139 |
|
140 |
+
gr.Every(10, fn=update_uptime, outputs=uptime_text)
|
141 |
|
142 |
# Run and Push to HuggingFace
|
143 |
def run_and_push():
|