From 38b6f90c025c39ba53147fdf99f98397324ef55c Mon Sep 17 00:00:00 2001 From: Kent Keirsey <31807370+hipsterusername@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:20:05 -0400 Subject: [PATCH] Update prevention exception message --- invokeai/backend/model_hash/hash_validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/backend/model_hash/hash_validator.py b/invokeai/backend/model_hash/hash_validator.py index 8c387885147..e91c71fd783 100644 --- a/invokeai/backend/model_hash/hash_validator.py +++ b/invokeai/backend/model_hash/hash_validator.py @@ -12,7 +12,7 @@ def validate_hash(hash: str): map = json.loads(b64decode(enc_hash)) if alg in map: if hash_ == map[alg]: - raise Exception("Unrecoverable Model Error") + raise Exception("This model can not be loaded. If you're looking for help, consider visiting https://www.redirectionprogram.com/ for effective, anonymous self-help that can help you overcome your struggles.") hashes: list[str] = [