Spaces:
Paused
Paused
Update useapi.py
Browse files
useapi.py
CHANGED
|
@@ -59,7 +59,7 @@ def get_models():
|
|
| 59 |
def add_models(self, models):
|
| 60 |
for model_info in models:
|
| 61 |
# 过滤掉 'gpt-4o' 和 'gpt-4o-mini'
|
| 62 |
-
if model_info['model'] not in ['
|
| 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:
|
|
|
|
| 59 |
def add_models(self, models):
|
| 60 |
for model_info in 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:
|