Home Artists Posts Import Register

Downloads

Content

Updated 19 September 2023 : Fixed gradio and other bugs working perfect

July 8: Now we are using official repo weights. Not anymore leaked weights. You need to accept terms of new repo links (Repo 1 , Repo 2).

Please upvote this reddit thread if possible.

Join discord and tell me your discord username to get a special rank : SECourses Discord

Patreon exclusive posts index

Video tutorial for this post step by step (and 8 GB VRAM settings) : https://youtu.be/__7VNmnn5iU

First accept terms and conditions on both of the below Hugging Face repositories.

You need a free Hugging Face account so get one if you didn't get previously : click here to join

Repo 1 , Repo 2

Then get a Hugging Face token for yourself from here 

Then download install.bat and run.bat files

If you have 12 GB or lower VRAM having GPU please use run_low_vram.bat

Run install.bat file with double click

After it is finished installation enter inside stable-diffusion-xl-demo folder and edit app2.py file. You can even use notepad but i prefer to use notepad++ for editing. Right click file and click edit

Find access_token and change it to your token

e.g. access_token = "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" //this is a real token you can use

Save the changes then double click and start run.bat. It will start the Gradio interface

Watch the tutorial video for more information. When you first time run it, it will download the necessary weights and model files

Comments

Mikael Svenson

When using the bat files, where are the safetensor files downloaded to? Or are they runtime only? Or I create a directory, set the SDXL_MODEL_DIR folder in enviroments, and that optimizes it? I'll clone huggingface repos and change the scripts - should fix it.

Furkan Gözükara

they are downloaded into user cache folder. if you remember i deleted it in the video to show you. so they are permanent. it will use them when you run again. you will find inside here : C:\Users\ur_username\.cache\huggingface\hub yes alternatively you can clone and give cloned directory path in the app2.py file

indievish

Looking forward to runpod script 😍

John S

Hi Sec, I double click to start run.bat then I get this message: Traceback (most recent call last): File "C:\Automatic1111install\auto sdxl\stable-diffusion-xl-demo\app2.py", line 1, in import gradio as gr ModuleNotFoundError: No module named 'gradio' Press any key to continue . . . Can you help with this?

Furkan Gözükara

yes i can help. what is your python version? also i am installing on my computer to verify it is working or not