arpm01 commited on
Commit
780f382
·
1 Parent(s): a93815b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ model = SegformerForSemanticSegmentation.from_pretrained("nickmuchi/segformer-b4
8
 
9
  pipe = pipeline(task="image-segmentation",
10
  model=model,
11
- extractor=extractor)
12
 
13
  gr.Interface.load(pipe,
14
  title="Segformer",
 
8
 
9
  pipe = pipeline(task="image-segmentation",
10
  model=model,
11
+ feature_extractor=extractor)
12
 
13
  gr.Interface.load(pipe,
14
  title="Segformer",