sayakpaul HF Staff commited on
Commit
a163bc7
·
1 Parent(s): 45414f1

correct argument.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,7 +61,7 @@ def infer_img_proc(
61
  image_guidance_scale=img_cfg,
62
  guidance_scale=text_cfg,
63
  generator=torch.manual_seed(int(seed)),
64
- )
65
  return images
66
 
67
 
@@ -124,7 +124,7 @@ with gr.Blocks(theme="gradio/soft") as demo:
124
  )
125
  gr.Markdown("### Low-level image processing example")
126
  gr.Examples(
127
- [examples[0]],
128
  inputs=all_img_proc_inputs,
129
  outputs=img_proc_output_gallery,
130
  fn=infer_img_proc,
 
61
  image_guidance_scale=img_cfg,
62
  guidance_scale=text_cfg,
63
  generator=torch.manual_seed(int(seed)),
64
+ ).images
65
  return images
66
 
67
 
 
124
  )
125
  gr.Markdown("### Low-level image processing example")
126
  gr.Examples(
127
+ [examples[1]],
128
  inputs=all_img_proc_inputs,
129
  outputs=img_proc_output_gallery,
130
  fn=infer_img_proc,