Spaces:
Running
Running
Commit
·
ca416d9
1
Parent(s):
82c8cbd
minor color change
Browse files
app/message_processing.py
CHANGED
@@ -252,7 +252,7 @@ def _create_safety_ratings_html(safety_ratings: List[Any]) -> str:
|
|
252 |
elif highest_score <= 0.66:
|
253 |
color = "yellow"
|
254 |
else:
|
255 |
-
color = "#
|
256 |
|
257 |
# Format the summary line for the highest score
|
258 |
summary_category = highest_rating.category.name.replace('HARM_CATEGORY_', '').replace('_', ' ').title()
|
|
|
252 |
elif highest_score <= 0.66:
|
253 |
color = "yellow"
|
254 |
else:
|
255 |
+
color = "#bf555d"
|
256 |
|
257 |
# Format the summary line for the highest score
|
258 |
summary_category = highest_rating.category.name.replace('HARM_CATEGORY_', '').replace('_', ' ').title()
|