Răsfoiți Sursa

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>
Jiří Podivín 2 ani în urmă
părinte
comite
27ab66e437
2 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 1 1
      README.md
  2. 2 0
      scripts/verify-checksum-models.py

+ 1 - 1
README.md

@@ -640,7 +640,7 @@ Please verify the [sha256 checksums](SHA256SUMS) of all downloaded model files t
 
 ```bash
 # 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:

+ 2 - 0
scripts/verify-checksum-models.py

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