Skip to content

Commit

Permalink
fix: there was no hash check
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPandir committed Feb 13, 2024
1 parent 606912b commit a5dc569
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install_models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ verify_hash() {
else
return 1
fi

if [ "$currentHash" == "$expectedHash" ]; then
return 0
else
return 1
fi
}

download_model() {
Expand Down

0 comments on commit a5dc569

Please sign in to comment.