Sfoglia il codice sorgente

minor : fix trailing whitespaces

Georgi Gerganov 2 anni fa
parent
commit
e2a937ca6a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      scripts/verify-checksum-models.py

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

@@ -6,13 +6,13 @@ def sha256sum(file):
     b  = bytearray(block_size)
     b  = bytearray(block_size)
     file_hash = hashlib.sha256()
     file_hash = hashlib.sha256()
     mv = memoryview(b)
     mv = memoryview(b)
-    with open(file, 'rb', buffering=0) as f: 
+    with open(file, 'rb', buffering=0) as f:
         while True:
         while True:
             n = f.readinto(mv)
             n = f.readinto(mv)
             if not n:
             if not n:
                 break
                 break
             file_hash.update(mv[:n])
             file_hash.update(mv[:n])
-        
+
     return file_hash.hexdigest()
     return file_hash.hexdigest()
 
 
 # Define the path to the llama directory (parent folder of script directory)
 # Define the path to the llama directory (parent folder of script directory)