Shanshan Wang
commited on
Commit
·
f59416c
1
Parent(s):
6cdf45d
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": "#
|
| 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": "#FEC925", "Other": "#9F9F9D", "traditional ocr models": "#54585A"}
|
| 39 |
|
| 40 |
# Apply the categorization to create a new column
|
| 41 |
data_valid["Category"] = data_valid["Model"].apply(categorize_model)
|