Email submitter after complete

This commit is contained in:
Matt McWilliams 2023-06-30 10:56:11 -04:00
parent 4009ed345b
commit b9a64e4b6e
1 changed files with 5 additions and 1 deletions

View File

@ -83,5 +83,9 @@ fi
MODELPATH=$(realpath "../models/${ID}/weights/best.onnx")
curl -s -X POST \
-F "model@${MODELPATH}" \
-F "model=@${MODELPATH}" \
"${YOLO_WEB_URL}/job/${ID}"
if [ -f ./scripts/completed_mail.sh ]; then
bash ./scripts/completed_mail.sh "${JSON}"
fi