Include everything independenly

This commit is contained in:
niten 2023-01-07 14:10:20 -08:00
parent 0de918c1fe
commit 931c60ee57

View File

@ -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";