chore: remove redundant words (#10609)
Signed-off-by: sunxunle <sunxunle@ampere.tech>
This commit is contained in:
@@ -73,7 +73,7 @@ def _download(url: str, root: str):
|
||||
loop.update(len(buffer))
|
||||
|
||||
if insecure_hashlib.sha256(open(download_target, "rb").read()).hexdigest() != expected_sha256:
|
||||
raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match")
|
||||
raise RuntimeError("Model has been downloaded but the SHA256 checksum does not match")
|
||||
|
||||
return download_target
|
||||
|
||||
|
||||
Reference in New Issue
Block a user