Skip to content

Commit acd15da

Browse files
committed
Update dlc_processor.py
1 parent 9b6e1c8 commit acd15da

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dlclivegui/services/dlc_processor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ def _worker_loop(self, init_frame: np.ndarray, init_timestamp: float) -> None:
452452
options["device"] = self._settings.device
453453

454454
try:
455+
if DLCLive is None:
456+
raise RuntimeError(
457+
"DLCLive class is not available. Ensure the dlclive package is installed and can be imported."
458+
)
455459
self._dlc = DLCLive(**options)
456460
except Exception as exc:
457461
with self._lifecycle_lock:

0 commit comments

Comments
 (0)