diff --git a/services/our/src/utils/python.ts b/services/our/src/utils/python.ts index ba6144a..8cada32 100644 --- a/services/our/src/utils/python.ts +++ b/services/our/src/utils/python.ts @@ -44,8 +44,8 @@ export async function preparePython() { // This check can be customized to your specific condition (e.g., check a file or run `pip show yolo`) let yoloExists = false; try { - // Run `pip show yolov5` or your yolo package name to check if installed - await spawn(pipCmd, ["show", "yolov5"], { cwd: env.APP_DIR }); + // Run `pip show ultralytics` or your yolo package name to check if installed + await spawn(pipCmd, ["show", "ultralytics"], { cwd: env.APP_DIR }); yoloExists = true; } catch { yoloExists = false;