Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def formatter(x):
|
|
33 |
|
34 |
# Apply formatting to other columns
|
35 |
for col in original_df.columns:
|
36 |
-
if col in ['
|
37 |
continue # Skip the 'model' and 'Model' columns
|
38 |
else:
|
39 |
original_df[col] = original_df[col].apply(formatter)
|
@@ -113,9 +113,9 @@ def request_model(model_text):
|
|
113 |
|
114 |
# Update the leaderboard DataFrame
|
115 |
original_df = df_results.copy()
|
116 |
-
original_df['Model'] = original_df['
|
117 |
for col in original_df.columns:
|
118 |
-
if col in ['
|
119 |
continue # Skip the 'model' and 'Model' columns
|
120 |
else:
|
121 |
original_df[col] = original_df[col].apply(formatter)
|
|
|
33 |
|
34 |
# Apply formatting to other columns
|
35 |
for col in original_df.columns:
|
36 |
+
if col in ['Model']:
|
37 |
continue # Skip the 'model' and 'Model' columns
|
38 |
else:
|
39 |
original_df[col] = original_df[col].apply(formatter)
|
|
|
113 |
|
114 |
# Update the leaderboard DataFrame
|
115 |
original_df = df_results.copy()
|
116 |
+
original_df['Model'] = original_df['Model'].apply(make_clickable_model)
|
117 |
for col in original_df.columns:
|
118 |
+
if col in ['Model']:
|
119 |
continue # Skip the 'model' and 'Model' columns
|
120 |
else:
|
121 |
original_df[col] = original_df[col].apply(formatter)
|