Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Modified watchdog to lazy load

Dillon DuPontcb2f8c3d2a7e
diff --git a/libs/python/computer-server/computer_server/cli.py b/libs/python/computer-server/computer_server/cli.py
index 0fcbda00cd..c7f51959f3 100644
--- a/libs/python/computer-server/computer_server/cli.py
+++ b/libs/python/computer-server/computer_server/cli.py
@@ -11,7 +11,6 @@ import threading
from typing import List, Optional
from .server import Server
-from .watchdog import Watchdog
logger = logging.getLogger(__name__)
@@ -99,6 +98,7 @@ def main() -> None:
}
# Create watchdog with restart settings
+ from .watchdog import Watchdog
watchdog = Watchdog(
cli_args=cli_args,
ping_interval=args.watchdog_interval