Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -66,10 +66,10 @@ def get_segmentation_pipeline(
|
|
66 |
Tuple[AutoImageProcessor, UperNetForSemanticSegmentation]: segmentation pipeline
|
67 |
"""
|
68 |
image_processor = AutoImageProcessor.from_pretrained(
|
69 |
-
"openmmlab/upernet-convnext-
|
70 |
)
|
71 |
image_segmentor = UperNetForSemanticSegmentation.from_pretrained(
|
72 |
-
"openmmlab/upernet-convnext-
|
73 |
)
|
74 |
return image_processor, image_segmentor
|
75 |
|
|
|
66 |
Tuple[AutoImageProcessor, UperNetForSemanticSegmentation]: segmentation pipeline
|
67 |
"""
|
68 |
image_processor = AutoImageProcessor.from_pretrained(
|
69 |
+
"openmmlab/upernet-convnext-xlarge"
|
70 |
)
|
71 |
image_segmentor = UperNetForSemanticSegmentation.from_pretrained(
|
72 |
+
"openmmlab/upernet-convnext-xlarge"
|
73 |
)
|
74 |
return image_processor, image_segmentor
|
75 |
|