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