minor UX change: change the gallery order so latest output is shown first

#21
by linoyts HF Staff - opened
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -468,7 +468,8 @@ def generate(
468
 
469
  if gallery_images is None:
470
  gallery_images = []
471
- gallery_images.append(image)
 
472
 
473
  return gallery_images, str(new_seed), int(new_seed)
474
 
 
468
 
469
  if gallery_images is None:
470
  gallery_images = []
471
+ # gallery_images.append(image)
472
+ gallery_images = [image] + gallery_images # latest output to be at the top of the list
473
 
474
  return gallery_images, str(new_seed), int(new_seed)
475