Spaces:
Running
Running
Update app.py
Browse files
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)
|