Include everything independenly
This commit is contained in:
parent
0de918c1fe
commit
931c60ee57
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user