rifeWithKaiju / model_preset_manager

94 stars 9 forks source link

FileNotFoundError when --no-hashing is enabled #9

Open upsetdog opened 1 year ago

upsetdog commented 1 year ago

just simply this error when trying to "retrieve local model info":

stable-diffusion-webui/extensions/model_preset_manager/scripts/main.py", line 95, in get_short_hash_from_filename
    with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'modelname.safetensors'

but it works without --no-hashing in AUTOMATIC1111's webui COMMANDLINE_ARGS, maybe a warning in this edge case?

thanks for the extension :)