Spaces:
Running
Running
Commit
•
a0f2435
1
Parent(s):
2e0e542
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ table = table.head(5)
|
|
52 |
|
53 |
# Add row with reference model
|
54 |
row = [reference_model_name] + [50.0] * len(pretty_categories)
|
55 |
-
table = table.
|
56 |
table = table.sort_values(by=['Total'], ascending=False)
|
57 |
|
58 |
table.index = range(1, len(table) + 1)
|
|
|
52 |
|
53 |
# Add row with reference model
|
54 |
row = [reference_model_name] + [50.0] * len(pretty_categories)
|
55 |
+
table = pd.concat([table, pd.DataFrame([pd.Series(row, index=table.columns)])], ignore_index=True)
|
56 |
table = table.sort_values(by=['Total'], ascending=False)
|
57 |
|
58 |
table.index = range(1, len(table) + 1)
|