Update app.py
Browse files
app.py
CHANGED
|
@@ -185,7 +185,8 @@ def toggle_custom_resize_slider(resize_option):
|
|
| 185 |
def update_history(new_image, history):
|
| 186 |
if history is None:
|
| 187 |
history = []
|
| 188 |
-
|
|
|
|
| 189 |
return history
|
| 190 |
|
| 191 |
css = """
|
|
|
|
| 185 |
def update_history(new_image, history):
|
| 186 |
if history is None:
|
| 187 |
history = []
|
| 188 |
+
if new_image is not None:
|
| 189 |
+
history.insert(0, new_image)
|
| 190 |
return history
|
| 191 |
|
| 192 |
css = """
|