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

Colab - please add ControlNet model folder path

Open GuruVirus opened this issue 1 year ago • 3 comments

I would like to help skip the re-download process which takes several minutes. Would it be possible to add a folder path just like the ckpt folder path (or check in the same ckpt folder path to make things even more simple?)?

Thanks

GuruVirus avatar Mar 10 '23 02:03 GuruVirus

the models are downloaded to your gdrive, I don't think they redownload if they already exist

TheLastBen avatar Mar 10 '23 07:03 TheLastBen

So, I looked at it twice and it's the git pull in the else at the bottom of this section. Is this required to do each time? Could I just comment it out when I don't need to update?

with capture.capture_output() as cap: %cd /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions if not os.path.exists("sd-webui-controlnet"): !git clone https://github.com/Mikubill/sd-webui-controlnet.git %cd /content else: %cd sd-webui-controlnet !git pull %cd /content

GuruVirus avatar Mar 14 '23 04:03 GuruVirus

Yes you can just comment it out

TheLastBen avatar Mar 14 '23 09:03 TheLastBen