Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,11 +153,12 @@ with gr.Blocks(css=css, title="ZenCtrl Inpainting") as demo:
|
|
| 153 |
["examples/office_chair.png", "examples/office_chair_bg.png", "office chair"], #"examples/office_chair_out.png"],
|
| 154 |
["examples/car.png", "examples/car_bg.png", "car on the road"], #"examples/car_out.png"],
|
| 155 |
],
|
| 156 |
-
inputs=[subj_img, ref_img, promptbox],
|
| 157 |
-
outputs=[output_img],
|
| 158 |
fn=_load_and_show,
|
| 159 |
-
label="Visual Presets
|
| 160 |
-
examples_per_page="all"
|
|
|
|
| 161 |
)
|
| 162 |
|
| 163 |
|
|
|
|
| 153 |
["examples/office_chair.png", "examples/office_chair_bg.png", "office chair"], #"examples/office_chair_out.png"],
|
| 154 |
["examples/car.png", "examples/car_bg.png", "car on the road"], #"examples/car_out.png"],
|
| 155 |
],
|
| 156 |
+
inputs=[subj_img, ref_img, promptbox], # three inputs
|
| 157 |
+
outputs=[output_img], #
|
| 158 |
fn=_load_and_show,
|
| 159 |
+
label="Visual Presets – Subject · Background · Prompt",
|
| 160 |
+
examples_per_page="all",
|
| 161 |
+
cache_examples=False,
|
| 162 |
)
|
| 163 |
|
| 164 |
|