Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -326,9 +326,8 @@ with gr.Blocks(css="style.css", js=js_func) as demo:
|
|
326 |
value=0,
|
327 |
)
|
328 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
329 |
-
|
330 |
-
|
331 |
-
image.update_image(resized_image)
|
332 |
|
333 |
with gr.Column():
|
334 |
with gr.Group():
|
|
|
326 |
value=0,
|
327 |
)
|
328 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
329 |
+
# Ensure the gr.ImageEditor displays the resized image correctly
|
330 |
+
image.update_image(resized_image)
|
|
|
331 |
|
332 |
with gr.Column():
|
333 |
with gr.Group():
|