Update app.py
Browse files
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)
|