Spaces:
Running
on
Zero
Running
on
Zero
change to lazy
Browse files
app.py
CHANGED
@@ -95,13 +95,12 @@ with demo_blocks as demo:
|
|
95 |
["images/00547245_99.jpg", "images/00547245_99_mask.jpg","a beautiful girl,eyes closed",0.8,"00547245"],
|
96 |
["images/00538245_paint.jpg", "images/00538245_mask.jpg","a beautiful girl,wearing t-shirt",0.7,"00538245"],
|
97 |
["images/00207245_18.jpg", "images/00207245_18_mask.jpg","a beautiful girl,mouth opened",0.2,"00207245"]
|
98 |
-
|
99 |
]
|
100 |
,
|
101 |
fn=example_out,
|
102 |
inputs=[image,image_mask,prompt,strength,id_input],
|
103 |
outputs=[image_out],
|
104 |
-
cache_examples=
|
105 |
)
|
106 |
gr.HTML(
|
107 |
"""
|
|
|
95 |
["images/00547245_99.jpg", "images/00547245_99_mask.jpg","a beautiful girl,eyes closed",0.8,"00547245"],
|
96 |
["images/00538245_paint.jpg", "images/00538245_mask.jpg","a beautiful girl,wearing t-shirt",0.7,"00538245"],
|
97 |
["images/00207245_18.jpg", "images/00207245_18_mask.jpg","a beautiful girl,mouth opened",0.2,"00207245"]
|
|
|
98 |
]
|
99 |
,
|
100 |
fn=example_out,
|
101 |
inputs=[image,image_mask,prompt,strength,id_input],
|
102 |
outputs=[image_out],
|
103 |
+
cache_examples="lazy",
|
104 |
)
|
105 |
gr.HTML(
|
106 |
"""
|