DemiPoto commited on
Commit
d4ed1d2
·
verified ·
1 Parent(s): c6efa57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -353,6 +353,7 @@ def fonc_start(id_session,id_module,s):
353
  if model_plus_tasks["id_module"]==-1 and model_actu=="":
354
  model_actu=model_plus_tasks["model"]
355
  task_actu=model_plus_tasks["task"][0]
 
356
  if model_actu=="":#crash
357
  print("Stop with :"+s+"\n")
358
  return None,gr.Textbox(s)
 
353
  if model_plus_tasks["id_module"]==-1 and model_actu=="":
354
  model_actu=model_plus_tasks["model"]
355
  task_actu=model_plus_tasks["task"][0]
356
+ model_plus_tasks["id_module"]=id_module
357
  if model_actu=="":#crash
358
  print("Stop with :"+s+"\n")
359
  return None,gr.Textbox(s)