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