Spaces:
Running
Running
Commit
•
bf46203
1
Parent(s):
8b2adbb
Fix ranking index bug by sorting the df_results
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def restart_space():
|
|
25 |
|
26 |
csv_path = f"./src/results/auto-arena-llms-results-20240624.csv"
|
27 |
csv_path_chinese = f"./src/results/auto-arena-llms-results-chinese-20240531.csv"
|
28 |
-
df_results = load_data(csv_path)
|
29 |
df_results_chinese = load_data(csv_path_chinese)
|
30 |
|
31 |
all_columns = ['Rank', 'Model', 'From', 'Open?', 'Params(B)', 'Cost', 'Score']
|
|
|
25 |
|
26 |
csv_path = f"./src/results/auto-arena-llms-results-20240624.csv"
|
27 |
csv_path_chinese = f"./src/results/auto-arena-llms-results-chinese-20240531.csv"
|
28 |
+
df_results = load_data(csv_path).sort_values(by="Rank")
|
29 |
df_results_chinese = load_data(csv_path_chinese)
|
30 |
|
31 |
all_columns = ['Rank', 'Model', 'From', 'Open?', 'Params(B)', 'Cost', 'Score']
|