Skip to content

Commit

Permalink
Update prevention exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
hipsterusername authored and psychedelicious committed Jun 26, 2024
1 parent cd9dfef commit 38b6f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeai/backend/model_hash/hash_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = [
Expand Down

0 comments on commit 38b6f90

Please sign in to comment.