Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
JayRaghav
/
Image_segmentation
like
21
Runtime error
App
Files
Files
Community
1
ab7dab0
Image_segmentation
/
app.py
JayRaghav
c3
ab7dab0
about 2 years ago
raw
Copy download link
history
blame
163 Bytes
import
gradio
as
gr
from
rembg
import
remove
def
segment
(
image
):
return
remove(image)
gr.Interface(fn=segment, inputs=
"image"
, outputs=
"image"
).launch()