ZhengPeng7 commited on
Commit
3218aa5
·
1 Parent(s): b59df1c

Add the weights option.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ demo = gr.Interface(
93
  inputs=[
94
  'image',
95
  gr.Textbox(lines=1, placeholder="Type the resolution (`WxH`) you want, e.g., `512x512`. Higher resolutions can be much slower for inference.", label="Resolution"),
96
- gr.Checkbox(['zhengpeng7/BiRefNet', 'zhengpeng7/BiRefNet-portrait'], label="Models", info="Choose the weights you want.")
97
  ],
98
  outputs=ImageSlider(),
99
  examples=examples,
 
93
  inputs=[
94
  'image',
95
  gr.Textbox(lines=1, placeholder="Type the resolution (`WxH`) you want, e.g., `512x512`. Higher resolutions can be much slower for inference.", label="Resolution"),
96
+ gr.Radio(['zhengpeng7/BiRefNet', 'zhengpeng7/BiRefNet-portrait'], label="Weights", info="Choose the weights you want.")
97
  ],
98
  outputs=ImageSlider(),
99
  examples=examples,