Mark Liu commited on
Commit
0937ead
·
1 Parent(s): 460602c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -98,9 +98,9 @@ def main(image_path, threshold):
98
  return Image.fromarray(foreground)
99
 
100
 
101
- title = "MODNet Background Remover"
102
- description = "Gradio demo for MODNet, a model that can remove the background from a given image. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
103
- article = "<div style='text-align: center;'> <a href='https://github.com/ZHKKKe/MODNet' target='_blank'>Github Repo</a> | <a href='https://arxiv.org/abs/2011.11961' target='_blank'>MODNet: Real-Time Trimap-Free Portrait Matting via Objective Decomposition</a> </div>"
104
 
105
  url = "https://huggingface.co/datasets/nateraw/background-remover-files/resolve/main/twitter_profile_pic.jpeg"
106
  image = Image.open(requests.get(url, stream=True).raw)
 
98
  return Image.fromarray(foreground)
99
 
100
 
101
+ title = "Image Background Remover"
102
+ description = "Remove Background from Image for Free. "
103
+ article = "<div style='text-align: center;'> </div>"
104
 
105
  url = "https://huggingface.co/datasets/nateraw/background-remover-files/resolve/main/twitter_profile_pic.jpeg"
106
  image = Image.open(requests.get(url, stream=True).raw)