Email submitter after complete
This commit is contained in:
parent
4009ed345b
commit
b9a64e4b6e
|
@ -83,5 +83,9 @@ fi
|
||||||
MODELPATH=$(realpath "../models/${ID}/weights/best.onnx")
|
MODELPATH=$(realpath "../models/${ID}/weights/best.onnx")
|
||||||
|
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-F "model@${MODELPATH}" \
|
-F "model=@${MODELPATH}" \
|
||||||
"${YOLO_WEB_URL}/job/${ID}"
|
"${YOLO_WEB_URL}/job/${ID}"
|
||||||
|
|
||||||
|
if [ -f ./scripts/completed_mail.sh ]; then
|
||||||
|
bash ./scripts/completed_mail.sh "${JSON}"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue