mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +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
|
||||
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."
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue