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