diff --git a/invokeai/backend/model_hash/hash_validator.py b/invokeai/backend/model_hash/hash_validator.py index f0580e00dd..2064b74a92 100644 --- a/invokeai/backend/model_hash/hash_validator.py +++ b/invokeai/backend/model_hash/hash_validator.py @@ -3,6 +3,8 @@ from base64 import b64decode def validate_hash(hash: str): + if not ":" in hash: + return for enc_hash in hashes: alg, hash_ = hash.split(":") if alg == "blake3":