Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
tonyassi/clothing-segmentation
Loomisgitarrist
/
ClothesExtractor
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8682ae7
ClothesExtractor
/
app.py
tonyassi
Create app.py
bddf3b8
verified
12 months ago
raw
Copy download link
history
blame
Safe
207 Bytes
import
gradio
as
gr
from
SegCloth
import
segment_clothing
def
segment
(
img
):
return
segment_clothing(img)
iface = gr.Interface(fn=segment, inputs=gr.Image(
type
=
'pil'
), outputs=gr.Image())
iface.launch()