kaikaidai commited on
Commit
1723e63
·
verified ·
1 Parent(s): e193ee0

Do not show flow judge in matches until endpoint is fixed

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -721,8 +721,8 @@ with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
721
  # For subsequent games, new models appears 40% of the time
722
  if random.random() < 0.4:
723
  # Randomly choose between new models
724
- new_model = random.choice(["Atla-8B-preview", "Flow-Judge-1.0"])
725
- other_models = [m for m in active_models if m not in [new_model, "Atla-8B-preview", "Flow-Judge-1.0"]]
726
  other_model = random.choice(other_models)
727
 
728
  if random.random() < 0.5:
@@ -731,7 +731,7 @@ with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
731
  model_a, model_b = other_model, new_model
732
  else:
733
  # For other cases, exclude both Atla and Flow-Judge
734
- non_special_models = [m for m in active_models if m not in ["Atla-8B-preview", "Flow-Judge-1.0"]]
735
  model1, model2 = random.sample(non_special_models, 2)
736
  model_a, model_b = (model1, model2) if random.random() < 0.5 else (model2, model1)
737
 
 
721
  # For subsequent games, new models appears 40% of the time
722
  if random.random() < 0.4:
723
  # Randomly choose between new models
724
+ new_model = random.choice(["Atla-8B-preview"]) # add "Flow-Judge-1.0" once ready
725
+ other_models = [m for m in active_models if m not in [new_model]]
726
  other_model = random.choice(other_models)
727
 
728
  if random.random() < 0.5:
 
731
  model_a, model_b = other_model, new_model
732
  else:
733
  # For other cases, exclude both Atla and Flow-Judge
734
+ non_special_models = [m for m in active_models if m not in new_model]
735
  model1, model2 = random.sample(non_special_models, 2)
736
  model_a, model_b = (model1, model2) if random.random() < 0.5 else (model2, model1)
737