Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -370,7 +370,8 @@ def fonc_start(id_session,id_module,s):
|
|
370 |
cache_list_task[f"{id_session}"].remove(model_plus_tasks)
|
371 |
|
372 |
task_actu["id_image"]=id_image
|
373 |
-
cache_image[f"{id_session}"].append(result.value)
|
|
|
374 |
cache_id_image[f"{id_session}"].append(task_actu)
|
375 |
print("image saved\n")
|
376 |
else:
|
|
|
370 |
cache_list_task[f"{id_session}"].remove(model_plus_tasks)
|
371 |
|
372 |
task_actu["id_image"]=id_image
|
373 |
+
#cache_image[f"{id_session}"].append(result.value)
|
374 |
+
cache_image[f"{id_session}"].append(result)
|
375 |
cache_id_image[f"{id_session}"].append(task_actu)
|
376 |
print("image saved\n")
|
377 |
else:
|