diff --git a/objectifier-module.nix b/objectifier-module.nix index 62c72af..ec739fc 100644 --- a/objectifier-module.nix +++ b/objectifier-module.nix @@ -57,7 +57,15 @@ in { after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; reloadIfChanged = true; - path = with pkgs; [ pythonYolo ]; + path = with pkgs.python310Packages; [ + pkgs.python310 + gunicorn + fastapi + gunicorn + opencv4 + python-multipart + uvicorn + ]; environment = { OBJECTIFIER_YOLOV3_CONFIG = "${pkgs.yolov3-data}/yolov3.cfg"; OBJECTIFIER_YOLOV3_WEIGHTS = "${pkgs.yolov3-data}/yolov3.weights";