mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Run ruff
This commit is contained in:
parent
38b6f90c02
commit
dc23bebebf
@ -12,7 +12,9 @@ def validate_hash(hash: str):
|
||||
map = json.loads(b64decode(enc_hash))
|
||||
if alg in map:
|
||||
if hash_ == map[alg]:
|
||||
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.")
|
||||
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] = [
|
||||
|
Loading…
Reference in New Issue
Block a user