Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from curl_cffi.requests import Session
|
|
| 9 |
def get_models():
|
| 10 |
|
| 11 |
mord = {
|
| 12 |
-
"Providers" : ["1","2" ,"3","4"
|
| 13 |
"Models" : {
|
| 14 |
"1" : [
|
| 15 |
{
|
|
@@ -86,38 +86,7 @@ def get_models():
|
|
| 86 |
}
|
| 87 |
],
|
| 88 |
|
| 89 |
-
|
| 90 |
-
{
|
| 91 |
-
"id": "aisingapore/gemma-sea-lion-v4-27b-it",
|
| 92 |
-
"owned_by": "AI Singapore"
|
| 93 |
-
},
|
| 94 |
-
{
|
| 95 |
-
"id": "defog/sqlcoder-7b-2",
|
| 96 |
-
"owned_by": "Defog"
|
| 97 |
-
},
|
| 98 |
-
{
|
| 99 |
-
"id": "ibm-granite/granite-4.0-h-micro",
|
| 100 |
-
"owned_by": "IBM"
|
| 101 |
-
},
|
| 102 |
-
{
|
| 103 |
-
"id": "meta/llama-3.1-8b-instruct",
|
| 104 |
-
"owned_by": "Meta"
|
| 105 |
-
},
|
| 106 |
-
{
|
| 107 |
-
"id": "microsoft/phi-2",
|
| 108 |
-
"owned_by": "Microsoft"
|
| 109 |
-
},
|
| 110 |
-
{
|
| 111 |
-
"id": "qwen/qwen3-30b-a3b-fp8",
|
| 112 |
-
"owned_by": "Alibaba Cloud"
|
| 113 |
-
},
|
| 114 |
-
{
|
| 115 |
-
"id": "qwen/qwq-32b",
|
| 116 |
-
"owned_by": "Alibaba Cloud"
|
| 117 |
-
}
|
| 118 |
-
],
|
| 119 |
-
|
| 120 |
-
"3" : [
|
| 121 |
{
|
| 122 |
"id": "zai-org/glm-4.6",
|
| 123 |
"owned_by": "Zhipu AI"
|
|
@@ -187,13 +156,13 @@ def get_models():
|
|
| 187 |
"owned_by": "OpenAI"
|
| 188 |
}
|
| 189 |
],
|
| 190 |
-
"
|
| 191 |
{
|
| 192 |
"id": "qwen3-4b-thinking-2507",
|
| 193 |
"owned_by": "Alibaba Cloud"
|
| 194 |
}
|
| 195 |
],
|
| 196 |
-
"
|
| 197 |
{
|
| 198 |
"id": "meta/llama-3.1-70b-instruct",
|
| 199 |
"owned_by": "Meta"
|
|
@@ -283,10 +252,7 @@ def get_models():
|
|
| 283 |
"owned_by": "Mistral AI"
|
| 284 |
}
|
| 285 |
]
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
}
|
| 291 |
}
|
| 292 |
|
|
@@ -896,10 +862,10 @@ class Config:
|
|
| 896 |
|
| 897 |
|
| 898 |
PROVIDERS: Dict[str, Dict[str, Any]] = {
|
| 899 |
-
"1": {"func":
|
| 900 |
-
"2": {"func":
|
| 901 |
-
"3": {"func":
|
| 902 |
-
"4": {"func":
|
| 903 |
}
|
| 904 |
|
| 905 |
|
|
|
|
| 9 |
def get_models():
|
| 10 |
|
| 11 |
mord = {
|
| 12 |
+
"Providers" : ["1","2" ,"3","4"],
|
| 13 |
"Models" : {
|
| 14 |
"1" : [
|
| 15 |
{
|
|
|
|
| 86 |
}
|
| 87 |
],
|
| 88 |
|
| 89 |
+
"2" : [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
{
|
| 91 |
"id": "zai-org/glm-4.6",
|
| 92 |
"owned_by": "Zhipu AI"
|
|
|
|
| 156 |
"owned_by": "OpenAI"
|
| 157 |
}
|
| 158 |
],
|
| 159 |
+
"3" : [
|
| 160 |
{
|
| 161 |
"id": "qwen3-4b-thinking-2507",
|
| 162 |
"owned_by": "Alibaba Cloud"
|
| 163 |
}
|
| 164 |
],
|
| 165 |
+
"4" : [
|
| 166 |
{
|
| 167 |
"id": "meta/llama-3.1-70b-instruct",
|
| 168 |
"owned_by": "Meta"
|
|
|
|
| 252 |
"owned_by": "Mistral AI"
|
| 253 |
}
|
| 254 |
]
|
| 255 |
+
|
|
|
|
|
|
|
|
|
|
| 256 |
}
|
| 257 |
}
|
| 258 |
|
|
|
|
| 862 |
|
| 863 |
|
| 864 |
PROVIDERS: Dict[str, Dict[str, Any]] = {
|
| 865 |
+
"1": {"func": GROQ, "models": None},
|
| 866 |
+
"2": {"func": Adarsh_Personal, "models": M1},
|
| 867 |
+
"3": {"func": QWEN, "models": M2},
|
| 868 |
+
"4": {"func": FREEGPT, "models": M3},
|
| 869 |
}
|
| 870 |
|
| 871 |
|