Spaces:
Running
Running
Do not show flow judge in matches until endpoint is fixed
Browse files
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"
|
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,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
|
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 |
|