Include everything independenly
This commit is contained in:
parent
0de918c1fe
commit
931c60ee57
@ -57,7 +57,15 @@ in {
|
|||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
reloadIfChanged = true;
|
reloadIfChanged = true;
|
||||||
path = with pkgs; [ pythonYolo ];
|
path = with pkgs.python310Packages; [
|
||||||
|
pkgs.python310
|
||||||
|
gunicorn
|
||||||
|
fastapi
|
||||||
|
gunicorn
|
||||||
|
opencv4
|
||||||
|
python-multipart
|
||||||
|
uvicorn
|
||||||
|
];
|
||||||
environment = {
|
environment = {
|
||||||
OBJECTIFIER_YOLOV3_CONFIG = "${pkgs.yolov3-data}/yolov3.cfg";
|
OBJECTIFIER_YOLOV3_CONFIG = "${pkgs.yolov3-data}/yolov3.cfg";
|
||||||
OBJECTIFIER_YOLOV3_WEIGHTS = "${pkgs.yolov3-data}/yolov3.weights";
|
OBJECTIFIER_YOLOV3_WEIGHTS = "${pkgs.yolov3-data}/yolov3.weights";
|
||||||
|
Loading…
Reference in New Issue
Block a user