Skip to content

Magic Board is PoC using stable diffusion. Improvement of image style and image generation

Notifications You must be signed in to change notification settings

mfranzon/MagicBoard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic Board

Magic Board is a PoC using stable diffusion to generate out-of-mind images starting from a sketch.

Thank to streamlit-drawable-canvas package it is super simple create the perfect environment to play with stable diffusion, starting form our quick draw. Select the number of steps and the strength to generate the final image.

I like minimalism, so for this experiments I try to use a low-code approach. Also lowest time as possible ;)

Some technicalities

The Stable Diffusion model is the latest provided by the diffusers library.

If you want to use it, to avoid local checkpoint, just get an access token from hugging face, follow these instruction to get access. Then copy and paste the Token in config.py.

Install the requirements and you should be able to run:

streamlit run main.py

This version has also the multi-language support, at the moment just English and Italian.

Screen dashboard

The final result is :

NOTE:

This implementation use a torch.float16 due to low VRAM availability. Strongly suggest to set it torch.float32 to speed up the computation. Here

About

Magic Board is PoC using stable diffusion. Improvement of image style and image generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages