Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -162,7 +162,7 @@ with gr.Blocks(css=css, title="ZenCtrl Inpainting") as demo:
|
|
| 162 |
["examples/office_chair.png", "examples/office_chair_bg.png", "office chair", "examples/office_chair_out.png"],
|
| 163 |
["examples/car.png", "examples/car_bg.png", "car on the road", "examples/car_out.png"],
|
| 164 |
],
|
| 165 |
-
inputs=[subj_img, ref_img, promptbox],
|
| 166 |
outputs=[output_img],
|
| 167 |
fn=_run_example,
|
| 168 |
label="Visual Presets: Subject 路 Background 路 Prompt 路 Output",
|
|
@@ -185,4 +185,4 @@ with gr.Blocks(css=css, title="ZenCtrl Inpainting") as demo:
|
|
| 185 |
|
| 186 |
# ---------------- Launch ---------------------------------------
|
| 187 |
if __name__ == "__main__":
|
| 188 |
-
demo.launch(
|
|
|
|
| 162 |
["examples/office_chair.png", "examples/office_chair_bg.png", "office chair", "examples/office_chair_out.png"],
|
| 163 |
["examples/car.png", "examples/car_bg.png", "car on the road", "examples/car_out.png"],
|
| 164 |
],
|
| 165 |
+
inputs=[subj_img, ref_img, promptbox, output_img],
|
| 166 |
outputs=[output_img],
|
| 167 |
fn=_run_example,
|
| 168 |
label="Visual Presets: Subject 路 Background 路 Prompt 路 Output",
|
|
|
|
| 185 |
|
| 186 |
# ---------------- Launch ---------------------------------------
|
| 187 |
if __name__ == "__main__":
|
| 188 |
+
demo.launch()
|