mirror of
https://github.com/openai/CLIP.git
synced 2026-03-01 23:49:48 +00:00
Removed unused f-string (#273)
This commit is contained in:
@@ -67,7 +67,7 @@ def _download(url: str, root: str):
|
||||
loop.update(len(buffer))
|
||||
|
||||
if hashlib.sha256(open(download_target, "rb").read()).hexdigest() != expected_sha256:
|
||||
raise RuntimeError(f"Model has been downloaded but the SHA256 checksum does not not match")
|
||||
raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match")
|
||||
|
||||
return download_target
|
||||
|
||||
|
||||
Reference in New Issue
Block a user