Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
JayRaghav
/
Image_segmentation
like
21
Runtime error
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
394cd9b
Image_segmentation
/
app.py
JayRaghav
initial commit
394cd9b
over 2 years ago
raw
Copy download link
history
blame
173 Bytes
import
gradio
as
gr
from
rembg
import
remove
def
segment
(
image
):
return
remove(image)
gr.Interface(fn=segment, inputs=
"image"
, outputs=
"image"
).launch(share=
True
)