Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -334,6 +334,7 @@ def reset_gallery(gallery):
|
|
334 |
return add_gallery(None,"",[])
|
335 |
def fonc_load_gallery(id_session,gallery):
|
336 |
gallery = reset_gallery(gallery)
|
|
|
337 |
for i in range(len(cache_image[f"{id_session}"])):
|
338 |
gallery=add_gallery(cache_image[f"{id_session}"][i],cache_id_image[f"{id_session}"][i]["model"],gallery)
|
339 |
return gallery
|
|
|
334 |
return add_gallery(None,"",[])
|
335 |
def fonc_load_gallery(id_session,gallery):
|
336 |
gallery = reset_gallery(gallery)
|
337 |
+
print(cache_image[f"{id_session}"])
|
338 |
for i in range(len(cache_image[f"{id_session}"])):
|
339 |
gallery=add_gallery(cache_image[f"{id_session}"][i],cache_id_image[f"{id_session}"][i]["model"],gallery)
|
340 |
return gallery
|