Spaces:
Sleeping
Sleeping
Commit
·
85f09a8
1
Parent(s):
16eac30
typo-correction
Browse filescomma relocation
app.py
CHANGED
@@ -17,7 +17,7 @@ model = TFSegformerForSemanticSegmentation.from_pretrained(
|
|
17 |
def ade_palette():
|
18 |
"""ADE20K palette that maps each class to RGB values."""
|
19 |
return [
|
20 |
-
[240, 240, 240]
|
21 |
[255, 87, 51],
|
22 |
[182, 170, 160],
|
23 |
[217, 210, 88],
|
@@ -33,7 +33,7 @@ def ade_palette():
|
|
33 |
[184, 1, 90],
|
34 |
[184, 1, 79],
|
35 |
[184, 15, 1],
|
36 |
-
[184, 1, 170]
|
37 |
]
|
38 |
|
39 |
labels_list = []
|
|
|
17 |
def ade_palette():
|
18 |
"""ADE20K palette that maps each class to RGB values."""
|
19 |
return [
|
20 |
+
[240, 240, 240],
|
21 |
[255, 87, 51],
|
22 |
[182, 170, 160],
|
23 |
[217, 210, 88],
|
|
|
33 |
[184, 1, 90],
|
34 |
[184, 1, 79],
|
35 |
[184, 15, 1],
|
36 |
+
[184, 1, 170]
|
37 |
]
|
38 |
|
39 |
labels_list = []
|