Skip to content

Brainstorm2605/Simple-Diffusion

Repository files navigation

Important :

Download this a Stable Diffusion checkpoint file v1-5-pruned-emaonly.ckpt ( https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.ckpt ) and then paste it inside the data folder with this name ( v1-5-pruned-emaonly.ckpt)

Simple Stable Diffusion Image Generator with Gradio

This is a simple image generator built using the Stable Diffusion model and the Gradio library for a user-friendly interface. It uses the DDPM sampler for image generation.

Image Description

Features

  • Text-to-Image Generation: Generate images from text prompts.
  • Image-to-Image Generation: Modify existing images using text prompts.
  • CFG Scale Control: Adjust the influence of the text prompt on the generated image.
  • Inference Steps Control: Control the number of steps in the DDPM sampling process.
  • Random Seed Generation: A new random seed is used for each image, ensuring diverse results.
  • Negative Prompts: Refine image generation by specifying what you don't want to see in the image.

Requirements

You can install the required Python packages using:

python -m venv venv
venv/Scripts/Activate
pip install -r requirements.txt

To Run:
python gradio_app.py 

About

This repository showcases a simple Stable Diffusion image generator powered by Gradio. Experience AI image generation firsthand with an easy-to-use web interface. Experiment with text prompts, negative prompts, CFG scale, and inference steps to create unique visuals. This project uses the DDPM sampler

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages