kaikaidai commited on
Commit
187b655
·
verified ·
1 Parent(s): a0538fa

Removed Flow judge as endpoint returns 404 error

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -73,6 +73,7 @@ def load_model_data():
73
  "organization": model["organization"],
74
  "license": model["license"],
75
  "api_model": model["api_model"],
 
76
  }
77
  except FileNotFoundError:
78
  print("Warning: models.jsonl not found")
@@ -702,10 +703,10 @@ with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
702
 
703
  # Get list of active models only for matches
704
  active_models = [name for name, info in model_data.items()
705
- if info.get("active", True)]
706
 
707
  # Define new models list
708
- new_models = ["Atla Selene 1 Mini", "Flow-Judge-0.1", "SFR-LLaMA-3.1-70B-Judge"]
709
 
710
  # New models appear 40% of the time
711
  if random.random() < 0.4:
 
73
  "organization": model["organization"],
74
  "license": model["license"],
75
  "api_model": model["api_model"],
76
+ "active": model["active"]
77
  }
78
  except FileNotFoundError:
79
  print("Warning: models.jsonl not found")
 
703
 
704
  # Get list of active models only for matches
705
  active_models = [name for name, info in model_data.items()
706
+ if info.get("active", True) is True] # Explicitly check for True
707
 
708
  # Define new models list
709
+ new_models = ["Atla Selene 1 Mini", "SFR-LLaMA-3.1-70B-Judge"]
710
 
711
  # New models appear 40% of the time
712
  if random.random() < 0.4: