Shanshan Wang
commited on
Commit
•
6a8b621
1
Parent(s):
95212cd
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": "#3F00FF", "traditional ocr models": "#50C878"}
|
39 |
|
40 |
# Apply the categorization to create a new column
|
41 |
data_valid["Category"] = data_valid["Model"].apply(categorize_model)
|