Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,19 +7,19 @@ app = FastAPI()
|
|
| 7 |
|
| 8 |
# Define available models (you can expand this list)
|
| 9 |
AVAILABLE_MODELS = {
|
| 10 |
-
"openai/gpt-4.1": "OpenAI GPT-4.1"
|
| 11 |
-
"openai/gpt-4.1-mini": "OpenAI GPT-4.1-mini"
|
| 12 |
-
"openai/gpt-4.1-nano": "OpenAI GPT-4.1-nano"
|
| 13 |
-
"openai/gpt-4o": "OpenAI GPT-4o"
|
| 14 |
-
"openai/gpt-4o-mini": "OpenAI GPT-4o mini"
|
| 15 |
-
"openai/o4-mini": "OpenAI o4-mini"
|
| 16 |
-
"microsoft/MAI-DS-R1": "MAI-DS-R1"
|
| 17 |
-
"microsoft/Phi-3.5-MoE-instruct": "Phi-3.5-MoE instruct (128k)"
|
| 18 |
-
"microsoft/Phi-3.5-mini-instruct": "Phi-3.5-mini instruct (128k)"
|
| 19 |
-
"microsoft/Phi-3.5-vision-instruct": "Phi-3.5-vision instruct (128k)"
|
| 20 |
-
"microsoft/Phi-3-medium-128k-instruct": "Phi-3-medium instruct (128k)"
|
| 21 |
-
"microsoft/Phi-3-medium-4k-instruct": "Phi-3-medium instruct (4k)"
|
| 22 |
-
"microsoft/Phi-3-mini-128k-instruct": "Phi-3-mini instruct (128k)"
|
| 23 |
"microsoft/Phi-3-small-128k-instruct": "Phi-3-small instruct (128k)",
|
| 24 |
"microsoft/Phi-3-small-8k-instruct": "Phi-3-small instruct (8k)",
|
| 25 |
"microsoft/Phi-4": "Phi-4",
|
|
|
|
| 7 |
|
| 8 |
# Define available models (you can expand this list)
|
| 9 |
AVAILABLE_MODELS = {
|
| 10 |
+
"openai/gpt-4.1": "OpenAI GPT-4.1",
|
| 11 |
+
"openai/gpt-4.1-mini": "OpenAI GPT-4.1-mini",
|
| 12 |
+
"openai/gpt-4.1-nano": "OpenAI GPT-4.1-nano",
|
| 13 |
+
"openai/gpt-4o": "OpenAI GPT-4o",
|
| 14 |
+
"openai/gpt-4o-mini": "OpenAI GPT-4o mini",
|
| 15 |
+
"openai/o4-mini": "OpenAI o4-mini",
|
| 16 |
+
"microsoft/MAI-DS-R1": "MAI-DS-R1",
|
| 17 |
+
"microsoft/Phi-3.5-MoE-instruct": "Phi-3.5-MoE instruct (128k)",
|
| 18 |
+
"microsoft/Phi-3.5-mini-instruct": "Phi-3.5-mini instruct (128k)",
|
| 19 |
+
"microsoft/Phi-3.5-vision-instruct": "Phi-3.5-vision instruct (128k)",
|
| 20 |
+
"microsoft/Phi-3-medium-128k-instruct": "Phi-3-medium instruct (128k)",
|
| 21 |
+
"microsoft/Phi-3-medium-4k-instruct": "Phi-3-medium instruct (4k)",
|
| 22 |
+
"microsoft/Phi-3-mini-128k-instruct": "Phi-3-mini instruct (128k)",
|
| 23 |
"microsoft/Phi-3-small-128k-instruct": "Phi-3-small instruct (128k)",
|
| 24 |
"microsoft/Phi-3-small-8k-instruct": "Phi-3-small instruct (8k)",
|
| 25 |
"microsoft/Phi-4": "Phi-4",
|