Skip to content

mcaimi/sd-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 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

Current supported features

  • SD1.5 Inference with optional LoRA support
  • SDXL Inference with optional LoRA support
  • SD1.5 Model Merging Capabilities
  • Support for custom VAEs in both SDXL and SD1.5 inference phases
  • SD1.5 and SDXL Inpainting

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