salso commited on
Commit
2f8c8f1
·
verified ·
1 Parent(s): 4acf073

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ with gr.Blocks(css=css, title="ZenCtrl Inpainting") as demo:
142
 
143
  # ---------- Example wrapper ---------------------------------
144
  def _load_and_show(subj_path, bg_path, prompt):
145
- return Image.open(subj_path), Image.open(bg_path), prompt, Image.open(subj_path.replace(".png", "_out.png"))
146
 
147
  # ---------- Examples ----------------------------------------
148
  gr.Examples(
 
142
 
143
  # ---------- Example wrapper ---------------------------------
144
  def _load_and_show(subj_path, bg_path, prompt):
145
+ return Image.open(out_subject.replace(".png", "_out.png"))
146
 
147
  # ---------- Examples ----------------------------------------
148
  gr.Examples(