DemiPoto commited on
Commit
ab35d78
·
verified ·
1 Parent(s): 93b8a4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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