Spaces:
Running
Running
Commit
·
9673e56
1
Parent(s):
a7b6791
every DEPCIATED
Browse files
ui.py
CHANGED
|
@@ -377,8 +377,8 @@ def build_ui():
|
|
| 377 |
except Exception as e:
|
| 378 |
return f"Connection error: {str(e)}"
|
| 379 |
|
| 380 |
-
status_timer = gr.Timer()
|
| 381 |
-
status_timer.tick(fn=get_status, outputs=status_output
|
| 382 |
|
| 383 |
|
| 384 |
return demo
|
|
|
|
| 377 |
except Exception as e:
|
| 378 |
return f"Connection error: {str(e)}"
|
| 379 |
|
| 380 |
+
status_timer = gr.Timer(interval=5)
|
| 381 |
+
status_timer.tick(fn=get_status, outputs=status_output)
|
| 382 |
|
| 383 |
|
| 384 |
return demo
|