zzc0208 commited on
Commit
c7ded20
1 Parent(s): eb7ca6d

Update useapi.py

Browse files
Files changed (1) hide show
  1. useapi.py +1 -1
useapi.py CHANGED
@@ -61,7 +61,7 @@ def get_models():
61
  # 过滤掉 'gpt-4o' 和 'gpt-4o-mini'
62
  if model_info['model'] not in ['mythomax-13b']:
63
  if model_info['model'] in ['qwen-2-7b', 'gemma-2-9b', 'llama-3.1-8b', 'internLM-2.5-7b']:
64
- weight = 12 # Assign a low weight to reduce their frequency
65
  else:
66
  weight = int(math.ceil(24 / model_info['price'] + 0.5))
67
  self.models.extend([model_info['model']] * weight)
 
61
  # 过滤掉 'gpt-4o' 和 'gpt-4o-mini'
62
  if model_info['model'] not in ['mythomax-13b']:
63
  if model_info['model'] in ['qwen-2-7b', 'gemma-2-9b', 'llama-3.1-8b', 'internLM-2.5-7b']:
64
+ weight = 13
65
  else:
66
  weight = int(math.ceil(24 / model_info['price'] + 0.5))
67
  self.models.extend([model_info['model']] * weight)