andrijdavid commited on
Commit
c5b1cbe
·
verified ·
1 Parent(s): 74da67c

Fix comparison table Metric column as string

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -175,7 +175,7 @@ def dataframe_to_styled_html(df: pd.DataFrame, title: str) -> str:
175
 
176
  for col in df.columns:
177
  val = row[col]
178
- if col == "Model" or col == "Type":
179
  cells += f"""
180
  <td style="padding: 10px 16px; text-align: left; font-weight: 600;
181
  color: #111827; border-bottom: 1px solid #e5e7eb;">
 
175
 
176
  for col in df.columns:
177
  val = row[col]
178
+ if col == "Model" or col == "Type" or col == "Metric":
179
  cells += f"""
180
  <td style="padding: 10px 16px; text-align: left; font-weight: 600;
181
  color: #111827; border-bottom: 1px solid #e5e7eb;">