salso commited on
Commit
41a21ba
verified
1 Parent(s): 0bb39a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -151,13 +151,14 @@ with gr.Blocks(css=css, title="ZenCtrl Inpainting") as demo:
151
  ["examples/subject1.png", "examples/subject1.png", "Make this cat happy"],
152
  ],
153
  inputs=[subj_img, ref_img_ex, promptbox],
154
- outputs=[gallery, ref_img],
155
  fn=_run_example,
156
  examples_per_page="all",
157
  label="Presets (Input 路 Background 路 Prompt)",
158
  cache_examples=False,
159
  )
160
 
 
161
  # ---------- Buttons & interactions --------------------------
162
  # run_btn.click(
163
  # process_image_and_text,
 
151
  ["examples/subject1.png", "examples/subject1.png", "Make this cat happy"],
152
  ],
153
  inputs=[subj_img, ref_img_ex, promptbox],
154
+ outputs=[output_img, ref_img],
155
  fn=_run_example,
156
  examples_per_page="all",
157
  label="Presets (Input 路 Background 路 Prompt)",
158
  cache_examples=False,
159
  )
160
 
161
+
162
  # ---------- Buttons & interactions --------------------------
163
  # run_btn.click(
164
  # process_image_and_text,