tonyassi commited on
Commit
642c2d0
1 Parent(s): 10e906d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def generate(image_editor, prompt, neg_prompt, versions):
53
  final_dict = {'background': final_image, 'layers': None, 'composite': final_image}
54
 
55
  if(versions==None):
56
- final_gallery = [final_image]
57
  else:
58
  final_gallery = versions
59
  final_gallery.append(final_image)
 
53
  final_dict = {'background': final_image, 'layers': None, 'composite': final_image}
54
 
55
  if(versions==None):
56
+ final_gallery = [image_editor['background'] ,final_image]
57
  else:
58
  final_gallery = versions
59
  final_gallery.append(final_image)