mfranzon commited on
Commit
1f1958f
·
1 Parent(s): d9dec00

fix readme

Browse files
Files changed (1) hide show
  1. README.md +10 -32
README.md CHANGED
@@ -1,32 +1,10 @@
1
- # Magic Board
2
- Magic Board is a PoC using stable diffusion to generate out-of-mind images starting from a sketch.
3
-
4
- Thank to streamlit-drawable-canvas package it is super simple create the perfect environment to play with stable diffusion, starting form our quick draw.
5
- Select the number of steps and the strength to generate the final image.
6
-
7
- I like minimalism, so for this experiments I try to use a low-code approach. Also lowest time as possible ;)
8
-
9
- ## Some technicalities
10
-
11
- The Stable Diffusion model is the latest provided by the diffusers library.
12
-
13
- If you want to use it, to avoid local checkpoint, just get an access token from hugging face, follow [these](https://huggingface.co/CompVis/stable-diffusion-v1-4) instruction to get access.
14
- Then copy and paste the Token in [config.py](./config.py).
15
-
16
- Install the requirements and you should be able to run:
17
- ```
18
- streamlit run main.py
19
- ```
20
-
21
- This version has also the multi-language support, at the moment just English and Italian.
22
-
23
- ![Screen dashboard](./magic.png)
24
-
25
-
26
- The final result is :
27
- <p style="text-align:center;"><img src="./result.png" width="200"/></p>
28
-
29
-
30
- NOTE:
31
-
32
- This implementation use a `torch.float16` due to low VRAM availability. Strongly suggest to set it `torch.float32` to speed up the computation. [Here](./utils.py)
 
1
+ ---
2
+ title: {{title}}
3
+ emoji: {{emoji}}
4
+ colorFrom: {{colorFrom}}
5
+ colorTo: {{colorTo}}
6
+ sdk: {{sdk}}
7
+ sdk_version: {{sdkVersion}}
8
+ app_file: app.py
9
+ pinned: false
10
+ ---