Patrefans
Furkan Gözükara from patreon
Furkan Gözükara patreon

Automatic ControlNet Installer And Downloader For Windows BAT File

🕑 Added 2023-06-20 21:48:24 +0000 UTC
Automatic ControlNet Installer And Downloader For Windows BAT File
Automatic ControlNet Installer And Downloader For Windows BAT File

Comments

Furkan Gözükara

great

Hash Bookies

Yes! All thanks to your video on venvs and creating bat files. I thought it wasn’t seeing the dedicated python version so I called it. Thank you. 🙏🏿

Hash Bookies

Yes, I did but got the request errors and I have requests installed.

Furkan Gözükara

ok so fixed right?

Hash Bookies

I figured it out Created a bat file @echo off C:\venv\Scripts\python.exe "E:\auto\control_net_downloader.py" pause

Furkan Gözükara

Hello did you start it with control_net_install.bat ? because that file installs requests. you can also do pip install requests to fix

Hash Bookies

I got this error while trying to download controlnet automaticall File "E:\auto\control_net_downloader.py", line 3, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Furkan Gözükara

you are welcome. ty for support

Ran Bensimon

Thank you very much!!!

Furkan Gözükara

Hello fixed the link. So sorry for the delay.

Ran Bensimon

Hey, I want to update my ControlNet models, but when trying to download control_net_downloader.py there's an error: {"errors":[{"code":902,"code_name":"AttachmentNotFound","detail":"Attachment with id 15816602 was not found.","id":"b4ed6421-95a8-5f8c-bf48-5dcf0d729e97","status":"404","title":"Attachment was not found."}]}

Furkan Gözükara

to fix the python file execution error you need to give permissions. i don't have a mac so i don't know for sure but here what chatgpt tells me: chmod u+w /Users/ankushsingal/Desktop/stable-diffusion-webui

Furkan Gözükara

this is the folder where controlnet models has to be put in: .../stable-diffusion-webui/extensions/sd-webui-controlnet/models

Rasika Singal

i am getting error: python control_net_downloader.py Traceback (most recent call last): File "/Users/ankushsingal/Desktop/stable-diffusion-webui/manual/control_net_downloader.py", line 28, in os.makedirs(target_folder, exist_ok=True) File "/Users/ankushsingal/anaconda3/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/Users/ankushsingal/anaconda3/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) OSError: [Errno 30] Read-only file system: '/stable-diffusion-webui' . My control_net_downloader.py is in stable-diffusion-webui/manual where i have already downloaded sd-webui-controlnet in extensions which is located in Desktop/stable-diffusion-webui/extensions. In the video you mentioned to put everything on sd-webui-controlnet/models but the scriptions says to put in Extension. Can you please help to make the changes(i am using mac)


More Creators