Spaces:
Sleeping
Sleeping
joshangngoching
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import numpy as np
|
|
5 |
import cv2
|
6 |
import matplotlib.cm as cm
|
7 |
|
8 |
-
semantic_segmentation = pipeline("image-segmentation", "nvidia/segformer-
|
9 |
|
10 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png"])
|
11 |
|
|
|
5 |
import cv2
|
6 |
import matplotlib.cm as cm
|
7 |
|
8 |
+
semantic_segmentation = pipeline("image-segmentation", "nvidia/segformer-b5-finetuned-cityscapes-1024-1024")
|
9 |
|
10 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png"])
|
11 |
|