Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,13 +29,12 @@ ext_color_map = {
|
|
29 |
"INTpercept": "#F08080",
|
30 |
"INTtime": "#FA8072",
|
31 |
"INTplace": "#E9967A",
|
32 |
-
"INTevent": "#
|
33 |
"EXTsemantic": "#6495ED",
|
34 |
"EXTrepetition": "#7B68EE",
|
35 |
-
"EXTother": "#
|
36 |
}
|
37 |
|
38 |
-
|
39 |
def hex_to_rgb(hex_color: str) -> tuple[int, int, int]:
|
40 |
hex_color = hex_color.lstrip('#')
|
41 |
return tuple(int(hex_color[i:i+2], 16) for i in (0, 2, 4))
|
|
|
29 |
"INTpercept": "#F08080",
|
30 |
"INTtime": "#FA8072",
|
31 |
"INTplace": "#E9967A",
|
32 |
+
"INTevent": "#df2020",
|
33 |
"EXTsemantic": "#6495ED",
|
34 |
"EXTrepetition": "#7B68EE",
|
35 |
+
"EXTother": "#0080ff",
|
36 |
}
|
37 |
|
|
|
38 |
def hex_to_rgb(hex_color: str) -> tuple[int, int, int]:
|
39 |
hex_color = hex_color.lstrip('#')
|
40 |
return tuple(int(hex_color[i:i+2], 16) for i in (0, 2, 4))
|