Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -27,16 +27,16 @@ def model_list():
|
|
| 27 |
"object": "list",
|
| 28 |
"data": [
|
| 29 |
{
|
| 30 |
-
"id": "
|
| 31 |
"object": "model",
|
| 32 |
"created": time_now,
|
| 33 |
-
"owned_by": "
|
| 34 |
},
|
| 35 |
{
|
| 36 |
"id": "gpt-3.5-turbo",
|
| 37 |
"object": "model",
|
| 38 |
"created": time_now,
|
| 39 |
-
"owned_by": "
|
| 40 |
}
|
| 41 |
]
|
| 42 |
}
|
|
@@ -139,7 +139,7 @@ def gen_res_data(data, time_now=0, start=False):
|
|
| 139 |
"id": "chatcmpl",
|
| 140 |
"object": "chat.completion.chunk",
|
| 141 |
"created": time_now,
|
| 142 |
-
"model": "
|
| 143 |
"choices": [{"index": 0, "finish_reason": None}],
|
| 144 |
}
|
| 145 |
|
|
|
|
| 27 |
"object": "list",
|
| 28 |
"data": [
|
| 29 |
{
|
| 30 |
+
"id": "MiniMax-Text-01",
|
| 31 |
"object": "model",
|
| 32 |
"created": time_now,
|
| 33 |
+
"owned_by": "minimax"
|
| 34 |
},
|
| 35 |
{
|
| 36 |
"id": "gpt-3.5-turbo",
|
| 37 |
"object": "model",
|
| 38 |
"created": time_now,
|
| 39 |
+
"owned_by": "openai"
|
| 40 |
}
|
| 41 |
]
|
| 42 |
}
|
|
|
|
| 139 |
"id": "chatcmpl",
|
| 140 |
"object": "chat.completion.chunk",
|
| 141 |
"created": time_now,
|
| 142 |
+
"model": "MiniMax-Text-01",
|
| 143 |
"choices": [{"index": 0, "finish_reason": None}],
|
| 144 |
}
|
| 145 |
|