Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 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",
|