py : turn verify-checksum-models.py into executable (#2245)

README.md was adjusted to reflect the change.

Signed-off-by: Jiri Podivin <jpodivin@gmail.com>
This commit is contained in:
Jiří Podivín 2023-07-16 21:54:47 +02:00 committed by GitHub
parent 6e7cca4047
commit 27ab66e437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -640,7 +640,7 @@ Please verify the [sha256 checksums](SHA256SUMS) of all downloaded model files t
```bash ```bash
# run the verification script # run the verification script
python3 .\scripts\verify-checksum-models.py ./scripts/verify-checksum-models.py
``` ```
- On linux or macOS it is also possible to run the following commands to verify if you have all possible latest files in your self-installed `./models` subdirectory: - On linux or macOS it is also possible to run the following commands to verify if you have all possible latest files in your self-installed `./models` subdirectory:

2
scripts/verify-checksum-models.py Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/bin/env python3
import os import os
import hashlib import hashlib