Shanshan Wang
commited on
Commit
•
6cdf45d
1
Parent(s):
24fd4f9
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": "#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)
|