bibibi12345 commited on
Commit
ca416d9
·
1 Parent(s): 82c8cbd

minor color change

Browse files
Files changed (1) hide show
  1. app/message_processing.py +1 -1
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 = "#F84F4F"
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()