Spaces:
Running
Running
Try
Browse files
server.py
CHANGED
@@ -104,7 +104,7 @@ class LeaderboardServer:
|
|
104 |
if metric_value is not None:
|
105 |
local_results[task + "_" + metric] = metric_value
|
106 |
|
107 |
-
local_results["
|
108 |
|
109 |
if self.pre_submit and submission_id == self.pre_submit.submission_id:
|
110 |
processed_results.insert(0, local_results)
|
@@ -112,7 +112,7 @@ class LeaderboardServer:
|
|
112 |
processed_results.append(local_results)
|
113 |
dataframe = pd.DataFrame.from_records(processed_results)
|
114 |
df_order = (
|
115 |
-
["
|
116 |
+ list(self.tasks_metadata.keys())
|
117 |
+ [
|
118 |
col
|
|
|
104 |
if metric_value is not None:
|
105 |
local_results[task + "_" + metric] = metric_value
|
106 |
|
107 |
+
local_results["model"] = f'<a href={data["metadata"]["link_to_model"]}>{submission_id}</a>'
|
108 |
|
109 |
if self.pre_submit and submission_id == self.pre_submit.submission_id:
|
110 |
processed_results.insert(0, local_results)
|
|
|
112 |
processed_results.append(local_results)
|
113 |
dataframe = pd.DataFrame.from_records(processed_results)
|
114 |
df_order = (
|
115 |
+
["model"]
|
116 |
+ list(self.tasks_metadata.keys())
|
117 |
+ [
|
118 |
col
|