zxxie commited on
Commit
61e2388
·
verified ·
1 Parent(s): 93b27dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(css=css) as demo:
54
  result = gr.Image(label="Result", show_label=False)
55
 
56
  gr.on(
57
- triggers=[run_button.click, prompt.submit],
58
  fn=lens_blur,
59
  inputs=[
60
  prompt,
 
54
  result = gr.Image(label="Result", show_label=False)
55
 
56
  gr.on(
57
+ triggers=[run_button.click, prompt.upload],
58
  fn=lens_blur,
59
  inputs=[
60
  prompt,