mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
AI: Update download-scrfd.sh script #5167
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
1eac265978
commit
ab60112f99
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ verify_hash() {
|
||||||
|
|
||||||
if [[ -f "${MODEL_FILE}" ]]; then
|
if [[ -f "${MODEL_FILE}" ]]; then
|
||||||
CURRENT_HASH=$(hash_file "${MODEL_FILE}")
|
CURRENT_HASH=$(hash_file "${MODEL_FILE}")
|
||||||
if [[ "${CURRENT_HASH}" == ${MODEL_HASH%% *} ]]; then
|
if [[ "${CURRENT_HASH}" == "${MODEL_HASH%% *}" ]]; then
|
||||||
echo "SCRFD model already up to date."
|
echo "SCRFD model already up to date."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue