ethix commited on
Commit
7bd8d03
·
1 Parent(s): 351e4dd

change event listener

Browse files
Files changed (1) hide show
  1. app_v3.py +1 -1
app_v3.py CHANGED
@@ -198,7 +198,7 @@ with gr.Blocks(title="FLUX Turbo Upscaler", fill_height=True) as demo:
198
  ],
199
  outputs=[generated_image, prompt]
200
  )
201
- control_image.change(
202
  generate_caption,
203
  inputs=[control_image],
204
  outputs=[caption_state]
 
198
  ],
199
  outputs=[generated_image, prompt]
200
  )
201
+ control_image.upload(
202
  generate_caption,
203
  inputs=[control_image],
204
  outputs=[caption_state]