Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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
|
| 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
|