mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
download-models: fix startup failure caused by unset variable (#9781)
This commit is contained in:
parent
2d22800a3d
commit
cad7cdfb7e
@ -5,6 +5,7 @@
|
|||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
MODEL_CACHE_DIR=${MODEL_CACHE_DIR:-"/config/model_cache"}
|
MODEL_CACHE_DIR=${MODEL_CACHE_DIR:-"/config/model_cache"}
|
||||||
|
DOWNLOAD_YOLOV8=${DOWNLOAD_YOLOV8:-"0"}
|
||||||
YOLOV8_DIR="$MODEL_CACHE_DIR/yolov8"
|
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_URL=https://github.com/harakas/models/releases/download/yolov8.1-1.1/yolov8.small.models.tar.gz
|
||||||
YOLOV8_DIGEST=304186b299560fbacc28eac9b9ea02cc2289fe30eb2c0df30109a2529423695c
|
YOLOV8_DIGEST=304186b299560fbacc28eac9b9ea02cc2289fe30eb2c0df30109a2529423695c
|
||||||
|
Loading…
Reference in New Issue
Block a user