Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -295,7 +295,7 @@ def crea_list_task(id_session,list_param,list_models_to_gen,nb_images_by_prompt)
|
|
295 |
dict_temp["task"]=[]
|
296 |
for p in list_param:
|
297 |
for i in range(nb_images_by_prompt):
|
298 |
-
dict_temp["task"].append({"
|
299 |
cache_list_task[f"{id_session}"].append(dict_temp)
|
300 |
|
301 |
|
|
|
295 |
dict_temp["task"]=[]
|
296 |
for p in list_param:
|
297 |
for i in range(nb_images_by_prompt):
|
298 |
+
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]})
|
299 |
cache_list_task[f"{id_session}"].append(dict_temp)
|
300 |
|
301 |
|