Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -306,7 +306,7 @@ def crea_list_task(id_session,list_param,list_models_to_gen,nb_images_by_prompt)
|
|
306 |
dict_temp["task"].append({"prompt":p[0],"nprompt":p[1],"width":p[2],"height":p[3],"steps":p[4],"cfg":p[5],"seed":p[6]})
|
307 |
cache_list_task[f"{id_session}"].append(dict_temp)
|
308 |
|
309 |
-
cache_text_actu[f"{id_session}"]={"nb_modules_use":nb_req_simult,"stop":False,"nb_fail"
|
310 |
"nb_models_to_do":len(list_models_to_gen) ,"nb_models_tot":len(list_models_to_gen) ,
|
311 |
"nb_tasks_to_do":len(list_models_to_gen)*len(list_param)*nb_images_by_prompt ,
|
312 |
"nb_tasks_tot":len(list_models_to_gen)*len(list_param)*nb_images_by_prompt }
|
|
|
306 |
dict_temp["task"].append({"prompt":p[0],"nprompt":p[1],"width":p[2],"height":p[3],"steps":p[4],"cfg":p[5],"seed":p[6]})
|
307 |
cache_list_task[f"{id_session}"].append(dict_temp)
|
308 |
|
309 |
+
cache_text_actu[f"{id_session}"]={"nb_modules_use":nb_req_simult,"stop":False,"nb_fail":0,
|
310 |
"nb_models_to_do":len(list_models_to_gen) ,"nb_models_tot":len(list_models_to_gen) ,
|
311 |
"nb_tasks_to_do":len(list_models_to_gen)*len(list_param)*nb_images_by_prompt ,
|
312 |
"nb_tasks_tot":len(list_models_to_gen)*len(list_param)*nb_images_by_prompt }
|