Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -245,7 +245,7 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 245 |
)
|
| 246 |
|
| 247 |
# Image upload triggers dimension update and control reset
|
| 248 |
-
image.
|
| 249 |
fn=update_dimensions_on_upload,
|
| 250 |
inputs=[image],
|
| 251 |
outputs=[width, height]
|
|
|
|
| 245 |
)
|
| 246 |
|
| 247 |
# Image upload triggers dimension update and control reset
|
| 248 |
+
image.upload(
|
| 249 |
fn=update_dimensions_on_upload,
|
| 250 |
inputs=[image],
|
| 251 |
outputs=[width, height]
|