salso commited on
Commit
b6e6a9c
·
verified ·
1 Parent(s): 9e24507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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: Subject · Background · Prompt · Output",
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