salso commited on
Commit
a5ba69b
verified
1 Parent(s): 03355d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -154,17 +154,18 @@ with gr.Blocks(css=css, title="ZenCtrl Inpainting") as demo:
154
  # ---------- Examples ----------------------------------------
155
  gr.Examples(
156
  examples=[
157
- ["examples/subject1.png", "examples/subject1.png", "Make the toy sit on a marble table"],
158
- ["examples/subject1.png", "examples/subject1.png", "Turn the flowers into sunflowers"],
159
- ["examples/subject1.png", "examples/subject1.png", "Make this monster ride a skateboard on the beach"],
160
- ["examples/subject1.png", "examples/subject1.png", "Make this cat happy"],
 
 
161
  ],
162
- inputs=[subj_img, ref_img_ex, promptbox],
163
- outputs=[output_img, ref_img],
164
- fn=_run_example,
165
- examples_per_page="all",
166
- label="Presets (Input 路 Background 路 Prompt)",
167
- cache_examples=False,
168
  )
169
 
170
 
 
154
  # ---------- Examples ----------------------------------------
155
  gr.Examples(
156
  examples=[
157
+ ["examples/sofa1.png", "examples/sofa1_bg.png", "add the sofa", "examples/sofa1_out.png"],
158
+ ["examples/sofa2.png", "examples/sofa2_bg.png", "add this sofa", "examples/sofa2_out.png"],
159
+ ["examples/chair1.png", "examples/chair1_bg.png", "add the chair", "examples/chair1_out.png"],
160
+ ["examples/chair2.png", "examples/chair2_bg.png", "add the chair", "examples/chair2_out.png"],
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
+ examples_format="auto",
167
+ label="Visual Presets: Subject 路 Background 路 Prompt 路 Output",
168
+ examples_per_page="all"
 
169
  )
170
 
171