Spaces:
Paused
Paused
ZhengPeng7
commited on
Update descriptions in the app head.
Browse files
app.py
CHANGED
@@ -108,13 +108,13 @@ demo = gr.Interface(
|
|
108 |
fn=predict,
|
109 |
inputs=[
|
110 |
'image',
|
111 |
-
gr.Textbox(lines=1, placeholder="Type the resolution (`WxH`) you want, e.g., `
|
112 |
gr.Radio(list(usage_to_weights_file.keys()), value='General', label="Weights", info="Choose the weights you want.")
|
113 |
],
|
114 |
outputs=ImageSlider(),
|
115 |
examples=examples,
|
116 |
title='Online demo for `Bilateral Reference for High-Resolution Dichotomous Image Segmentation`',
|
117 |
description=('Upload a picture, our model will extract a highly accurate segmentation of the subject in it. :)'
|
118 |
-
'\nThe resolution used in our training was `1024x1024`,
|
119 |
)
|
120 |
demo.launch(debug=True)
|
|
|
108 |
fn=predict,
|
109 |
inputs=[
|
110 |
'image',
|
111 |
+
gr.Textbox(lines=1, placeholder="Type the resolution (`WxH`) you want, e.g., `1024x1024`. Higher resolutions can be much slower for inference.", label="Resolution"),
|
112 |
gr.Radio(list(usage_to_weights_file.keys()), value='General', label="Weights", info="Choose the weights you want.")
|
113 |
],
|
114 |
outputs=ImageSlider(),
|
115 |
examples=examples,
|
116 |
title='Online demo for `Bilateral Reference for High-Resolution Dichotomous Image Segmentation`',
|
117 |
description=('Upload a picture, our model will extract a highly accurate segmentation of the subject in it. :)'
|
118 |
+
'\nThe resolution used in our training was `1024x1024`, thus the suggested resolution to obtain good results!\n Ours codes can be found at https://github.com/ZhengPeng7/BiRefNet.\n We also maintain the HF model of BiRefNet at https://huggingface.co/ZhengPeng7/BiRefNet for easier access.')
|
119 |
)
|
120 |
demo.launch(debug=True)
|