Spaces:
Runtime error
Runtime error
Update checks/check_gui.py
Browse files- checks/check_gui.py +7 -0
checks/check_gui.py
CHANGED
@@ -25,6 +25,13 @@ class StatusUI:
|
|
25 |
inputs=self._state,
|
26 |
outputs=[self._log_output, self._state]
|
27 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
def append(self, message: str):
|
30 |
"""Append a message to the UI log."""
|
|
|
25 |
inputs=self._state,
|
26 |
outputs=[self._log_output, self._state]
|
27 |
)
|
28 |
+
|
29 |
+
# Auto-update every second
|
30 |
+
self._ui.load(
|
31 |
+
self._stream_logs,
|
32 |
+
outputs=self._log_output,
|
33 |
+
every=1
|
34 |
+
)
|
35 |
|
36 |
def append(self, message: str):
|
37 |
"""Append a message to the UI log."""
|