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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -357,6 +357,7 @@ def fonc_start(id_session,id_module,s,cont):
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")
@@ -476,7 +477,7 @@ def make_me():
476
 
477
  with gr.Column():
478
  with gr.Row():
479
- nb_req_simult=gr.Number(10,"Number simultaneous request")
480
  nb_req_simult_max_by_mod=gr.Number(2,"Number max simultaneous request by model")
481
 
482
  button_start=gr.Button("START")
 
357
  model_plus_tasks["id_module"]=id_module
358
  model_actu=model_plus_tasks["model"]
359
  task_actu=model_plus_tasks["task"][0]
360
+ print(f"module num {id_module} take {model_actu}\n")
361
  if model_actu=="":#crash
362
  print(cache_list_task[f"{id_session}"])
363
  print("Stop with :"+s+"\n")
 
477
 
478
  with gr.Column():
479
  with gr.Row():
480
+ nb_req_simult=gr.Number(2,"Number simultaneous request")
481
  nb_req_simult_max_by_mod=gr.Number(2,"Number max simultaneous request by model")
482
 
483
  button_start=gr.Button("START")