kapllan commited on
Commit
671198b
1 Parent(s): 3f1d891

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def generate_html_table(topics: List[Tuple[str, str, float]]):
89
  color = get_row_color(type)
90
  topic = f"<strong>{topic}</strong>" if 'main' in type.lower() else topic
91
  type = f"<strong>{type}</strong>" if 'main' in type.lower() else type
92
- score = f"<strong>{score}</strong>" if 'main' in type.lower() else topic
93
  html += f'<tr style="{color}"><td>{type}</td><td>{topic}</td><td>{score}</td></tr>'
94
  html += '</table>'
95
  return html
 
89
  color = get_row_color(type)
90
  topic = f"<strong>{topic}</strong>" if 'main' in type.lower() else topic
91
  type = f"<strong>{type}</strong>" if 'main' in type.lower() else type
92
+ score = f"<strong>{score}</strong>" if 'main' in type.lower() else score
93
  html += f'<tr style="{color}"><td>{type}</td><td>{topic}</td><td>{score}</td></tr>'
94
  html += '</table>'
95
  return html