From cad7cdfb7e607a4b247faef73217554df9289f20 Mon Sep 17 00:00:00 2001 From: harakas Date: Sat, 10 Feb 2024 19:54:18 +0200 Subject: [PATCH] download-models: fix startup failure caused by unset variable (#9781) --- docker/main/rootfs/etc/s6-overlay/s6-rc.d/download-models/run | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/main/rootfs/etc/s6-overlay/s6-rc.d/download-models/run b/docker/main/rootfs/etc/s6-overlay/s6-rc.d/download-models/run index 9b60748a0..c1d03a71d 100755 --- a/docker/main/rootfs/etc/s6-overlay/s6-rc.d/download-models/run +++ b/docker/main/rootfs/etc/s6-overlay/s6-rc.d/download-models/run @@ -5,6 +5,7 @@ set -o errexit -o nounset -o pipefail MODEL_CACHE_DIR=${MODEL_CACHE_DIR:-"/config/model_cache"} +DOWNLOAD_YOLOV8=${DOWNLOAD_YOLOV8:-"0"} YOLOV8_DIR="$MODEL_CACHE_DIR/yolov8" YOLOV8_URL=https://github.com/harakas/models/releases/download/yolov8.1-1.1/yolov8.small.models.tar.gz YOLOV8_DIGEST=304186b299560fbacc28eac9b9ea02cc2289fe30eb2c0df30109a2529423695c