OriLib commited on
Commit
c0eeab4
1 Parent(s): 9ad7c88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -48,8 +48,8 @@ def process_file(f):
48
  transparent.save(name_path)
49
  return name_path
50
 
51
- slider1 = ImageSlider(label="birefnet", type="pil")
52
- slider2 = ImageSlider(label="birefnet", type="pil")
53
  image = gr.Image(label="Upload an image")
54
  image2 = gr.Image(label="Upload an image",type="filepath")
55
  text = gr.Textbox(label="Paste an image URL")
@@ -69,7 +69,7 @@ tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["gi
69
 
70
 
71
  demo = gr.TabbedInterface(
72
- [tab1, tab2,tab3], ["image", "text","png"], title="birefnet for background removal"
73
  )
74
 
75
  if __name__ == "__main__":
 
48
  transparent.save(name_path)
49
  return name_path
50
 
51
+ slider1 = ImageSlider(label="RMBG-2.0", type="pil")
52
+ slider2 = ImageSlider(label="RMBG-2.0", type="pil")
53
  image = gr.Image(label="Upload an image")
54
  image2 = gr.Image(label="Upload an image",type="filepath")
55
  text = gr.Textbox(label="Paste an image URL")
 
69
 
70
 
71
  demo = gr.TabbedInterface(
72
+ [tab1, tab2,tab3], ["image", "text","png"], title="RMBG-2.0 for background removal"
73
  )
74
 
75
  if __name__ == "__main__":