fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

Colab Error

Open Mittoman opened this issue 1 year ago • 5 comments

Hello I used the latest notebook updated on July 28th, but I'm getting following error message,

Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 162, in webui() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 52, in webui initialize.initialize() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 74, in initialize initialize_rest(reload_script_modules=False) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 102, in initialize_rest sd_models.list_models() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 165, in list_models model_list = modelloader.load_models(model_path=model_path, model_url=model_url, command_path=shared.cmd_opts.ckpt_dir, ext_filter=[".ckpt", ".safetensors"], download_name="v1-5-pruned-emaonly.safetensors", ext_blacklist=[".vae.ckpt", ".vae.safetensors"], hash_prefix=expected_sha256) TypeError: load_models() got an unexpected keyword argument 'hash_prefix'

Mittoman avatar Jul 28 '24 13:07 Mittoman

Same problem over here

Glup30 avatar Jul 28 '24 15:07 Glup30

You have to remove / archive the SD folder and reinstall Automatic 1111 completely. Everything should work fine then

mcqx4 avatar Jul 28 '24 17:07 mcqx4

I have the same problem, any other alternative solution to reinstall SD? It would be a long and painful process given the amount of stuff I have in that folder...

Giusemoli312 avatar Jul 29 '24 09:07 Giusemoli312

@Giusemoli312 rename the sd folder to sd_old, then once everything is working again, you can move the extensions and the models to the new sd folder

TheLastBen avatar Jul 29 '24 12:07 TheLastBen

@Giusemoli312 rename the sd folder to sd_old, then once everything is working again, you can move the extensions and the models to the new sd folder

Solved! thanks!

Giusemoli312 avatar Jul 30 '24 21:07 Giusemoli312