navidved commited on
Commit
c748316
1 Parent(s): e6d7cc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 ['model', 'Model']:
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['model'].apply(make_clickable_model)
117
  for col in original_df.columns:
118
- if col in ['model', 'Model']:
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)