ZhengPeng7 commited on
Commit
df154af
1 Parent(s): e2ce7e5

Update the approximated time cost from 500s to 40s. The long time cost may be caused by the unnecessary part of our_ref in inference.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,6 +97,6 @@ demo = gr.Interface(
97
  examples=examples,
98
  title='Online demo for `Bilateral Reference for High-Resolution Dichotomous Image Segmentation`',
99
  description=('Upload a picture, our model will give you the binary maps of the highly accurate segmentation of the salient objects in it. :)'
100
- '\nThe resolution used in our training was `1024x1024`, which is too much burden for the huggingface free spaces like this one (cost ~500s). Please set resolution as more than `768x768` for images with many texture details to obtain good results!\n Ours codes can be found at https://github.com/ZhengPeng7/BiRefNet.')
101
  )
102
  demo.launch(debug=True)
 
97
  examples=examples,
98
  title='Online demo for `Bilateral Reference for High-Resolution Dichotomous Image Segmentation`',
99
  description=('Upload a picture, our model will give you the binary maps of the highly accurate segmentation of the salient objects in it. :)'
100
+ '\nThe resolution used in our training was `1024x1024`, which is too much burden for the huggingface free spaces like this one (cost nearly 40s). Please set resolution as more than `768x768` for images with many texture details to obtain good results!\n Ours codes can be found at https://github.com/ZhengPeng7/BiRefNet.')
101
  )
102
  demo.launch(debug=True)