Skip to content

Text to Image app with Stable Diffusion Pipeline and tkinter as its UI

Notifications You must be signed in to change notification settings

marwanmusa/Text-to-Image-with-StableDiffusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Implementation - Text to Image

Text to Image app with Stable Diffusion Pipeline and CustomTkinter as its UI.

Source :

  1. Stable Diffusion App - Github, HuggingFace
  2. Custom Tkinter - Github

How to run:

  1. Clone this repository
git clone https://github.com/marwanmusa/Text-to-Image-with-StableDiffusion
  1. Make virtual environment on your local directory
python -m venv "your_env_name"
  1. Activate the environment
"your_env_name"/Scripts/Activate.ps1
  1. Install dependencies in requirements.txt
pip install -r path/to/requirements.txt

or if you are using pipenv, then

pipenv install

if pipenv not installed yet, just

pip install pipenv
  1. Run app.py
python app.py

Generated image samples:

  1. Duck Skiing

Duck Skiing


2. Rabbit Astronaut

Rabbit Astronaut


3. Erupting Volcano on Mars

Erupting Volcano on Mars

Note
You need to adjust your torch installation version to match with your cuda toolkit version installed.

About

Text to Image app with Stable Diffusion Pipeline and tkinter as its UI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages