Skip to content

mcaimi/sd-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Web App

This is a Stable-Diffusion Web Application written using Streamlit, Pytorch/Torchvision and HuggingFace Diffusers With proper hardware, it can generate images locally from pre-trained Stable Diffusion Models.

To download model checkpoints, have a look at HuggingFace.

app

Run Locally

The application expects to find model checkpoints files in the models/stable-diffusion folder, and loras in models/loras folder.

$ uv run streamlit run main.py

It tries to use any discovered GPU that is supported by pytorch, but it can run on CPU (very slowly)

Tested:

  • Apple Metal Performance Shaders
  • NVIDIA CUDA
  • AMD CPU

About

Example Stable Diffusion Web Application based on Streamlit, PyTorch and HF Diffusers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published