Update app.py
Browse files
app.py
CHANGED
@@ -114,40 +114,15 @@ Removing the paragraph...
|
|
114 |
|
115 |
# Available models
|
116 |
AVAILABLE_MODELS = [
|
117 |
-
{
|
118 |
-
"name": "Moonshot Kimi-K2",
|
119 |
-
"id": "moonshotai/Kimi-K2-Instruct",
|
120 |
-
"description": "Moonshot AI Kimi-K2-Instruct model for code generation and general tasks",
|
121 |
-
"provider": "groq"
|
122 |
-
},
|
123 |
{
|
124 |
"name": "DeepSeek V3",
|
125 |
"id": "deepseek-ai/DeepSeek-V3-0324",
|
126 |
-
"description": "DeepSeek V3 model for code generation",
|
127 |
-
"provider": "huggingface"
|
128 |
},
|
129 |
{
|
130 |
-
"name": "DeepSeek R1",
|
131 |
"id": "deepseek-ai/DeepSeek-R1-0528",
|
132 |
-
"description": "DeepSeek R1 model for code generation",
|
133 |
-
"provider": "huggingface"
|
134 |
-
},
|
135 |
-
{
|
136 |
-
"name": "Gemini 1.5 Pro",
|
137 |
-
"id": "gemini-1.5-pro-latest",
|
138 |
-
"description": "Google Gemini 1.5 Pro model for code generation and general tasks",
|
139 |
-
"provider": "gemini"
|
140 |
-
# }, # Commented out to avoid requiring extra setup for all users
|
141 |
-
#{
|
142 |
-
# "name": "GPT-4o",
|
143 |
-
# "id": "gpt-4o",
|
144 |
-
# "description": "OpenAI GPT-4o model for code generation and general tasks",
|
145 |
-
# "provider": "openai"
|
146 |
-
},
|
147 |
-
{
|
148 |
-
"name": "ERNIE-4.5-VL",
|
149 |
-
"id": "baidu/ERNIE-4.5-VL-424B-A47B-Base-PT",
|
150 |
-
"description": "ERNIE-4.5-VL model for multimodal code generation with image support"
|
151 |
},
|
152 |
{
|
153 |
# "name": "GPT-4o-mini",
|
@@ -156,28 +131,19 @@ AVAILABLE_MODELS = [
|
|
156 |
# "provider": "openai"
|
157 |
#}, # Commented out to avoid requiring extra setup for all users
|
158 |
#{
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
# "provider": "openai"
|
163 |
-
#}, # Commented out to avoid requiring extra setup for all users
|
164 |
-
#{
|
165 |
-
"name": "MiniMax M1",
|
166 |
-
"id": "MiniMaxAI/MiniMax-M1-80k",
|
167 |
-
"description": "MiniMax M1 model for code generation and general tasks",
|
168 |
-
"provider": "huggingface"
|
169 |
},
|
170 |
{
|
171 |
-
"name": "
|
172 |
-
"id": "
|
173 |
-
"description": "
|
174 |
-
"provider": "huggingface"
|
175 |
},
|
176 |
{
|
177 |
-
"name": "
|
178 |
-
"id": "
|
179 |
-
"description": "
|
180 |
-
"provider": "huggingface"
|
181 |
},
|
182 |
{
|
183 |
"name": "GLM-4.1V-9B-Thinking",
|
|
|
114 |
|
115 |
# Available models
|
116 |
AVAILABLE_MODELS = [
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
{
|
118 |
"name": "DeepSeek V3",
|
119 |
"id": "deepseek-ai/DeepSeek-V3-0324",
|
120 |
+
"description": "DeepSeek V3 model for code generation", "provider": "huggingface"
|
|
|
121 |
},
|
122 |
{
|
123 |
+
"name": "DeepSeek R1",
|
124 |
"id": "deepseek-ai/DeepSeek-R1-0528",
|
125 |
+
"description": "DeepSeek R1 model for code generation", "provider": "huggingface"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
},
|
127 |
{
|
128 |
# "name": "GPT-4o-mini",
|
|
|
131 |
# "provider": "openai"
|
132 |
#}, # Commented out to avoid requiring extra setup for all users
|
133 |
#{
|
134 |
+
"name": "Gemini 1.5 Pro",
|
135 |
+
"id": "gemini-1.5-pro-latest",
|
136 |
+
"description": "Google Gemini 1.5 Pro model for code generation and general tasks", "provider": "gemini"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
},
|
138 |
{
|
139 |
+
"name": "GPT-4o",
|
140 |
+
"id": "gpt-4o",
|
141 |
+
"description": "OpenAI GPT-4o model for code generation and general tasks", "provider": "openai"
|
|
|
142 |
},
|
143 |
{
|
144 |
+
"name": "Qwen3-235B-A22B",
|
145 |
+
"id": "Qwen/Qwen3-235B-A22B",
|
146 |
+
"description": "Qwen3-235B-A22B model for code generation and general tasks", "provider": "huggingface"
|
|
|
147 |
},
|
148 |
{
|
149 |
"name": "GLM-4.1V-9B-Thinking",
|