Spaces:
Running
on
Zero
Running
on
Zero
change event listener
Browse files
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.
|
| 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]
|