Zeph27 commited on
Commit
083d498
·
1 Parent(s): 9744341

change thread value

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ with gr.Blocks() as iface:
185
  remove_bg = gr.Radio(choices=["yes", "no"], label="Remove Background", value="yes")
186
 
187
  output_format = gr.Radio(choices=["PNG", "JPG"], label="Output Format", value="PNG")
188
- num_workers = gr.Slider(minimum=1, maximum=16, step=1, label="Number of Workers", value=4)
189
 
190
  with gr.Row():
191
  bg_method = gr.Radio(choices=["bria", "rembg"], label="Background Removal Method", value="bria", visible=True)
 
185
  remove_bg = gr.Radio(choices=["yes", "no"], label="Remove Background", value="yes")
186
 
187
  output_format = gr.Radio(choices=["PNG", "JPG"], label="Output Format", value="PNG")
188
+ num_workers = gr.Slider(minimum=1, maximum=16, step=1, label="Number of Workers", value=2)
189
 
190
  with gr.Row():
191
  bg_method = gr.Radio(choices=["bria", "rembg"], label="Background Removal Method", value="bria", visible=True)