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

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def generate_html_table(topics: List[Tuple[str, str, float]]):
88
  for type, topic, score in topics:
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 topic
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>'
 
88
  for type, topic, score in topics:
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>'