Commit
·
3218aa5
1
Parent(s):
b59df1c
Add the weights option.
Browse files
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.
|
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,
|