Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -313,10 +313,10 @@ def crea_list_task(id_session,list_param,list_models_to_gen,nb_images_by_prompt)
|
|
313 |
|
314 |
def fonc_update_actu(text_actu,id):
|
315 |
s=""
|
316 |
-
s+=f"modules: {cache_text_actu[str(id)][
|
317 |
-
s+=f"models remaining: {cache_text_actu[str(id)][
|
318 |
-
s+=f"images remaining: {cache_text_actu[str(id)][
|
319 |
-
s+=f"fail attempt: {cache_text_actu[str(id)][
|
320 |
return gr.Texbox(s)
|
321 |
|
322 |
def cutStrg(longStrg,start,end):
|
|
|
313 |
|
314 |
def fonc_update_actu(text_actu,id):
|
315 |
s=""
|
316 |
+
s+=f"modules: {cache_text_actu[str(id)]['nb_modules_use']}/{nb_req_simult}\n"
|
317 |
+
s+=f"models remaining: {cache_text_actu[str(id)]['nb_models_to_do']}/{cache_text_actu[str(id)]['nb_models_tot']}\n"
|
318 |
+
s+=f"images remaining: {cache_text_actu[str(id)]['nb_tasks_to_do']}/{cache_text_actu[str(id)]['nb_tasks_tot']}\n"
|
319 |
+
s+=f"fail attempt: {cache_text_actu[str(id)]['nb_fail']}"
|
320 |
return gr.Texbox(s)
|
321 |
|
322 |
def cutStrg(longStrg,start,end):
|