AlGe commited on
Commit
4e1d27b
·
verified ·
1 Parent(s): 57808ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -29,13 +29,12 @@ ext_color_map = {
29
  "INTpercept": "#F08080",
30
  "INTtime": "#FA8072",
31
  "INTplace": "#E9967A",
32
- "INTevent": "#ff0000",
33
  "EXTsemantic": "#6495ED",
34
  "EXTrepetition": "#7B68EE",
35
- "EXTother": "#00008B",
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))