timmy0079 commited on
Commit
e4c0dca
1 Parent(s): fc2beda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ model = SegformerForSemanticSegmentation.from_pretrained(
16
  def ade_palette():
17
  """ADE20K palette that maps each class to RGB values."""
18
  return [
19
- [204, 87, 92],
20
  [112, 185, 212],
21
  [45, 189, 106],
22
  [234, 123, 67],
@@ -50,7 +50,7 @@ def ade_palette():
50
  [112, 200, 56],
51
  [56, 123, 45],
52
  [200, 32, 90],
53
- [123, 45, 78]
54
  ]
55
 
56
  labels_list = []
 
16
  def ade_palette():
17
  """ADE20K palette that maps each class to RGB values."""
18
  return [
19
+ [204, 87, 90],
20
  [112, 185, 212],
21
  [45, 189, 106],
22
  [234, 123, 67],
 
50
  [112, 200, 56],
51
  [56, 123, 45],
52
  [200, 32, 90],
53
+ [123, 45, 78],
54
  ]
55
 
56
  labels_list = []