Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def add_gallery(image, model_str, gallery):
|
|
112 |
if gallery is None: gallery = []
|
113 |
with lock:
|
114 |
if image is not None: gallery.insert(0, (image, model_str))
|
115 |
-
if image is not None: imgageHasUpdated(
|
116 |
return gallery
|
117 |
|
118 |
JS="""
|
|
|
112 |
if gallery is None: gallery = []
|
113 |
with lock:
|
114 |
if image is not None: gallery.insert(0, (image, model_str))
|
115 |
+
if image is not None: imgageHasUpdated(model_str)
|
116 |
return gallery
|
117 |
|
118 |
JS="""
|