Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.77 KB

README.md

File metadata and controls

62 lines (44 loc) · 1.77 KB

Local Stable Diffusion 3.5 using Gradio

Setup

Create a python virtual environment

make init

Activate virtual environment

make activate

Install required libraries

make install

Permissions on HuggingFace

Make sure you are granted repo access permissions for the stable-diffusion-3.5-medium model.
In your profile settings under Access Tokens create an access token with public repo read access as well as read access to the stable-diffusion-3.5-medium repo itself (More info).
Copy your access token and store it in an .env file as follows:

HF_TOKEN=<Your access token here>

Run

Run the Gradio hello world:

make test-gradio

Run Stable Diffusion 3.5 using Gradio:

make test-sd35

In both cases once you run the make command you can access the app on http://127.0.0.1:7860.

References and further reading