djstrong commited on
Commit
1889818
1 Parent(s): d2d2329

clickable condition

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +1 -1
src/leaderboard/read_evals.py CHANGED
@@ -163,7 +163,7 @@ class EvalResult:
163
  print(f"Could not find architecture")
164
 
165
  try:
166
- data_dict[AutoEvalColumn.model.name] = make_clickable_model(self.full_model)
167
  except KeyError:
168
  print(f"Could not find model")
169
 
 
163
  print(f"Could not find architecture")
164
 
165
  try:
166
+ data_dict[AutoEvalColumn.model.name] = make_clickable_model(self.full_model) if self.still_on_hub else self.full_model
167
  except KeyError:
168
  print(f"Could not find model")
169