Spaces:
Build error
Build error
Fix cache
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
|
|
1 |
---
|
2 |
+
title: pattern-to-image
|
3 |
emoji: π
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
app.py
CHANGED
@@ -21,6 +21,10 @@ from share_btn import community_icon_html, loading_icon_html, share_js
|
|
21 |
import user_history
|
22 |
from illusion_style import css
|
23 |
|
|
|
|
|
|
|
|
|
24 |
BASE_MODEL = "SG161222/Realistic_Vision_V5.1_noVAE"
|
25 |
|
26 |
# Initialize both pipelines
|
@@ -199,9 +203,8 @@ with gr.Blocks() as app:
|
|
199 |
<span font-size:16px;">Generate stunning high quality illusion artwork with Stable Diffusion</span>
|
200 |
</center>
|
201 |
|
202 |
-
|
203 |
-
|
204 |
-
This project works by using [Monster Labs QR Control Net](https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster).
|
205 |
Given a prompt and your pattern, we use a QR code conditioned controlnet to create a stunning illusion! Credit to: [MrUgleh](https://twitter.com/MrUgleh) for discovering the workflow :)
|
206 |
'''
|
207 |
)
|
|
|
21 |
import user_history
|
22 |
from illusion_style import css
|
23 |
|
24 |
+
from transformers.utils.hub import move_cache
|
25 |
+
|
26 |
+
move_cache()
|
27 |
+
|
28 |
BASE_MODEL = "SG161222/Realistic_Vision_V5.1_noVAE"
|
29 |
|
30 |
# Initialize both pipelines
|
|
|
203 |
<span font-size:16px;">Generate stunning high quality illusion artwork with Stable Diffusion</span>
|
204 |
</center>
|
205 |
|
206 |
+
This project works by using
|
207 |
+
[Monster Labs QR Control Net](https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster) and [multimodalart](https://twitter.com/multimodalart)
|
|
|
208 |
Given a prompt and your pattern, we use a QR code conditioned controlnet to create a stunning illusion! Credit to: [MrUgleh](https://twitter.com/MrUgleh) for discovering the workflow :)
|
209 |
'''
|
210 |
)
|