randomtable
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ 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.
|
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. :)'
|
|
|
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=gr.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. :)'
|