Spaces:
Sleeping
Sleeping
Guillermo Uribe Vicencio
commited on
Commit
·
72d6082
1
Parent(s):
b1244a8
app.py
CHANGED
@@ -57,7 +57,7 @@ cdl_color_map = [{'value': 1, 'label': 'Natural vegetation', 'rgb': (233,255,190
|
|
57 |
{'value': 12, 'label': 'Sorghum', 'rgb':(255,158,15), 'qtt': 0},
|
58 |
{'value': 13, 'label': 'Other', 'rgb':(0,175,77), 'qtt': 0}]
|
59 |
|
60 |
-
def apply_color_map(rgb, color_map=cdl_color_map, map_resume):
|
61 |
|
62 |
rgb_mapped = rgb.copy()
|
63 |
|
|
|
57 |
{'value': 12, 'label': 'Sorghum', 'rgb':(255,158,15), 'qtt': 0},
|
58 |
{'value': 13, 'label': 'Other', 'rgb':(0,175,77), 'qtt': 0}]
|
59 |
|
60 |
+
def apply_color_map(rgb, color_map=cdl_color_map, map_resume=map_resume):
|
61 |
|
62 |
rgb_mapped = rgb.copy()
|
63 |
|