Deadmon commited on
Commit
1674890
1 Parent(s): 8f986da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -326,8 +326,9 @@ 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
- # Ensure the gr.ImageEditor displays the resized image correctly
330
- image.update_image(resized_image)
 
331
 
332
  with gr.Column():
333
  with gr.Group():
 
326
  value=0,
327
  )
328
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
329
+
330
+ # Ensure the gr.ImageEditor displays the resized image correctly
331
+ image.update_image(resized_image)
332
 
333
  with gr.Column():
334
  with gr.Group():