randomtable commited on
Commit
102de7f
·
verified ·
1 Parent(s): 2ee3aeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,10 +111,10 @@ demo = gr.Interface(
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
- gr.outputs.Image(type="numpy", label="Output"),
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)
 
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
+ gr.outputs.Image(type="numpy", label="Output")
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)