BearSean commited on
Commit
b094c1d
1 Parent(s): 6cdd0ad

Stop submitting upstage models

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -192,6 +192,9 @@ def add_new_eval(
192
  os.makedirs(OUT_DIR, exist_ok=True)
193
  out_path = f"{OUT_DIR}/{model_path}_eval_request_{private}_{precision}_{weight_type}.json"
194
 
 
 
 
195
  # Check if the model has been forbidden:
196
  if out_path.split("eval-queue/")[1] in DO_NOT_SUBMIT_MODELS:
197
  return styled_warning("Model authors have requested that their model be not submitted on the leaderboard.")
 
192
  os.makedirs(OUT_DIR, exist_ok=True)
193
  out_path = f"{OUT_DIR}/{model_path}_eval_request_{private}_{precision}_{weight_type}.json"
194
 
195
+ if user_name == "upstage":
196
+ return styled_warning("This model cannot be submitted on the leaderboard.")
197
+
198
  # Check if the model has been forbidden:
199
  if out_path.split("eval-queue/")[1] in DO_NOT_SUBMIT_MODELS:
200
  return styled_warning("Model authors have requested that their model be not submitted on the leaderboard.")