JeffreyXiang commited on
Commit
2e7f188
1 Parent(s): fbc801f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ with gr.Blocks() as demo:
195
  for image in os.listdir("assets/example_image")
196
  ],
197
  inputs=[image_prompt],
198
- fn=lambda image: preprocess_image(image),
199
  outputs=[image_buf, image_prompt],
200
  run_on_click=True,
201
  examples_per_page=64,
 
195
  for image in os.listdir("assets/example_image")
196
  ],
197
  inputs=[image_prompt],
198
+ fn=preprocess_image,
199
  outputs=[image_buf, image_prompt],
200
  run_on_click=True,
201
  examples_per_page=64,