Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ model = TFSegformerForSemanticSegmentation.from_pretrained(
|
|
17 |
def ade_palette():
|
18 |
"""ADE20K palette that maps each class to RGB values."""
|
19 |
return [
|
20 |
-
[
|
21 |
-
[
|
22 |
-
[
|
23 |
[234, 123, 67],
|
24 |
[78, 56, 123],
|
25 |
[210, 32, 89],
|
|
|
17 |
def ade_palette():
|
18 |
"""ADE20K palette that maps each class to RGB values."""
|
19 |
return [
|
20 |
+
[255, 0, 0],
|
21 |
+
[0, 255, 0],
|
22 |
+
[0, 0, 255],
|
23 |
[234, 123, 67],
|
24 |
[78, 56, 123],
|
25 |
[210, 32, 89],
|