Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
monirsso
/
bd
like
0
Sleeping
App
Files
Files
Community
monirsso
commited on
Jun 2
Commit
f38ef05
•
1 Parent(s):
811ad99
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+4
-0
app.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
# Use a pipeline as a high-level helper
2
+
from transformers import pipeline
3
+
4
+
pipe = pipeline("image-segmentation", model="nvidia/segformer-b0-finetuned-ade-512-512")