Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -323,8 +323,8 @@ def reset_cache_image_actu(id,cache_image_actu=cache_image_actu):
|
|
| 323 |
cache_image_actu[f"{id}"].clear()
|
| 324 |
return
|
| 325 |
def reset_cache_image_all_sessions(cache_image=cache_image):
|
| 326 |
-
for key,
|
| 327 |
-
|
| 328 |
return
|
| 329 |
|
| 330 |
def set_session(id):
|
|
@@ -338,9 +338,9 @@ def set_session(id):
|
|
| 338 |
def print_info_sessions():
|
| 339 |
lenTot=0
|
| 340 |
print("numbre of sessions : "+str(len(cache_image)))
|
| 341 |
-
for key,
|
| 342 |
-
print(key+str(len(
|
| 343 |
-
lenTot+=len(
|
| 344 |
print("images total = "+str(lenTot))
|
| 345 |
return
|
| 346 |
|
|
|
|
| 323 |
cache_image_actu[f"{id}"].clear()
|
| 324 |
return
|
| 325 |
def reset_cache_image_all_sessions(cache_image=cache_image):
|
| 326 |
+
for key, listT in cache_image:
|
| 327 |
+
listT.clear()
|
| 328 |
return
|
| 329 |
|
| 330 |
def set_session(id):
|
|
|
|
| 338 |
def print_info_sessions():
|
| 339 |
lenTot=0
|
| 340 |
print("numbre of sessions : "+str(len(cache_image)))
|
| 341 |
+
for key, listT in cache_image:
|
| 342 |
+
print(key+str(len(listT)))
|
| 343 |
+
lenTot+=len(listT)
|
| 344 |
print("images total = "+str(lenTot))
|
| 345 |
return
|
| 346 |
|