Skip to content

A gradio app that uses a stable diffusion model to generate novel QR codes

License

Notifications You must be signed in to change notification settings

vluz/QRCodeGenSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Generation with Stable Diffusion

A gradio app that uses a stable diffusion model to generate novel QR codes

This is a hevily modified version of the offician HF app.
Focus has been put into adding a useful model,
modifying pipe for low vram use and clean up the interface.
TODO: Implement -1 in seed input as torch random seed


Open a command prompt and cd to a new directory of your choosing:

Create a virtual environment with:

python -m venv "venv"
venv\Scripts\activate

To install do:

git clone https://github.com/vluz/QRCodeGenSD.git
cd QRCodeGenSD
pip install -r requirements.txt

To run do:

python qrgen.py

Takes a long time to run the first time as
it has to download a large amount of files

App runs on a browser at http://127.0.0.1:7860

To exit the virtual environment do:

venv\Scripts\deactivate

Example output:
Image1 Image2 Image3 Image4 Image5 Image6

About

A gradio app that uses a stable diffusion model to generate novel QR codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages