Rooni commited on
Commit
660dca6
1 Parent(s): 54d5da2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -65,7 +65,12 @@ with gr.Blocks(css=css) as demo:
65
  with gr.Row():
66
  submit_button = gr.Button("Удалить фон")
67
 
68
- submit_button.click(fn=inference, inputs=input_image, outputs=output_image)
 
 
 
 
 
69
 
70
  if __name__ == "__main__":
71
  demo.launch(share=False)
 
65
  with gr.Row():
66
  submit_button = gr.Button("Удалить фон")
67
 
68
+ submit_button.click(
69
+ fn=inference,
70
+ inputs=input_image,
71
+ outputs=output_image,
72
+ concurrency_limit=10
73
+ )
74
 
75
  if __name__ == "__main__":
76
  demo.launch(share=False)