DemiPoto commited on
Commit
35634e3
·
verified ·
1 Parent(s): 84dfe4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -352,10 +352,11 @@ def fonc_start(id_session,id_module,s,cont):
352
 
353
  if model_actu=="":
354
  for model_plus_tasks in cache_list_task[f"{id_session}"]:
355
- if model_plus_tasks["id_module"]==-1 and model_actu=="":
356
- model_plus_tasks["id_module"]=id_module
357
- model_actu=model_plus_tasks["model"]
358
- task_actu=model_plus_tasks["task"][0]
 
359
  if model_actu=="":#crash
360
  print(cache_list_task[f"{id_session}"])
361
  print("Stop with :"+s+"\n")
 
352
 
353
  if model_actu=="":
354
  for model_plus_tasks in cache_list_task[f"{id_session}"]:
355
+ if model_plus_tasks["id_module"]==-1 :
356
+ if model_actu=="":
357
+ model_plus_tasks["id_module"]=id_module
358
+ model_actu=model_plus_tasks["model"]
359
+ task_actu=model_plus_tasks["task"][0]
360
  if model_actu=="":#crash
361
  print(cache_list_task[f"{id_session}"])
362
  print("Stop with :"+s+"\n")