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

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):
357
  print("Stop with :"+s+"\n")
358
  return None,gr.Textbox(s)
359
  print("begin gen image\n")
 
360
  print(task_actu)
361
  result=gen_fn(model_actu, task_actu["prompt"], task_actu["nprompt"], task_actu["height"], task_actu["width"], task_actu["steps"], task_actu["cfg"], task_actu["seed"])
362
  print("image generate !\n")
@@ -470,7 +471,7 @@ def make_me():
470
 
471
  with gr.Column():
472
  with gr.Row():
473
- nb_req_simult=gr.Number(1,"Number simultaneous request")
474
  nb_req_simult_max_by_mod=gr.Number(2,"Number max simultaneous request by model")
475
 
476
  button_start=gr.Button("START")
 
357
  print("Stop with :"+s+"\n")
358
  return None,gr.Textbox(s)
359
  print("begin gen image\n")
360
+ print(model_actu)
361
  print(task_actu)
362
  result=gen_fn(model_actu, task_actu["prompt"], task_actu["nprompt"], task_actu["height"], task_actu["width"], task_actu["steps"], task_actu["cfg"], task_actu["seed"])
363
  print("image generate !\n")
 
471
 
472
  with gr.Column():
473
  with gr.Row():
474
+ nb_req_simult=gr.Number(10,"Number simultaneous request")
475
  nb_req_simult_max_by_mod=gr.Number(2,"Number max simultaneous request by model")
476
 
477
  button_start=gr.Button("START")