monirsso commited on
Commit
f38ef05
1 Parent(s): 811ad99

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py ADDED
@@ -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")