Spaces:
Running
Running
Adjust title label
Browse files- interfaces/cap_minor.py +2 -3
interfaces/cap_minor.py
CHANGED
@@ -98,10 +98,9 @@ def predict(text, model_id, tokenizer_id):
|
|
98 |
|
99 |
if first:
|
100 |
html += f"""
|
101 |
-
<div style="
|
102 |
<span style="color: {text_color};">{label}</span>
|
103 |
-
</div>
|
104 |
-
"""
|
105 |
|
106 |
html += f"""
|
107 |
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;">
|
|
|
98 |
|
99 |
if first:
|
100 |
html += f"""
|
101 |
+
<div style="text-align: center; font-weight: bold; font-size: 30px; margin-bottom: 10px;">
|
102 |
<span style="color: {text_color};">{label}</span>
|
103 |
+
</div>"""
|
|
|
104 |
|
105 |
html += f"""
|
106 |
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;">
|