Shanshan Wang
commited on
Commit
•
4e94911
1
Parent(s):
6a8b621
color change
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def categorize_model(model):
|
|
35 |
return "Other"
|
36 |
|
37 |
# Define a color map with yellow for "H2OVLs"
|
38 |
-
color_map = {"H2OVLs": "#FFE600", "Other": "#
|
39 |
|
40 |
# Apply the categorization to create a new column
|
41 |
data_valid["Category"] = data_valid["Model"].apply(categorize_model)
|
|
|
35 |
return "Other"
|
36 |
|
37 |
# Define a color map with yellow for "H2OVLs"
|
38 |
+
color_map = {"H2OVLs": "#FFE600", "Other": "#54585A", "traditional ocr models": "#50C878"}
|
39 |
|
40 |
# Apply the categorization to create a new column
|
41 |
data_valid["Category"] = data_valid["Model"].apply(categorize_model)
|