Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Nymbo/Clothing-Crop
devendergarg14
/
Clothing-Crop
like
1
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
bddf3b8
Clothing-Crop
/
app.py
tonyassi
Create app.py
bddf3b8
verified
about 1 year 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()