Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
5433c0e
1
Parent(s):
fa762df
main.ts
CHANGED
|
@@ -12,7 +12,19 @@ app.get('/', (c) => c.text('Hello Hono!'));
|
|
| 12 |
app.get('/v1/models', (c) =>
|
| 13 |
c.json({
|
| 14 |
object: 'list',
|
| 15 |
-
data: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}));
|
| 17 |
|
| 18 |
app.post('*', async (c) => {
|
|
|
|
| 12 |
app.get('/v1/models', (c) =>
|
| 13 |
c.json({
|
| 14 |
object: 'list',
|
| 15 |
+
data: [
|
| 16 |
+
{
|
| 17 |
+
'id': 'meta-llama/Llama-3.2-11B-Vision-Instruct',
|
| 18 |
+
'object': 'model',
|
| 19 |
+
'type': 'vlm',
|
| 20 |
+
'publisher': 'lmstudio-community',
|
| 21 |
+
'arch': 'llama',
|
| 22 |
+
'compatibility_type': 'gguf',
|
| 23 |
+
'quantization': 'Q4_K_M',
|
| 24 |
+
'state': 'not-loaded',
|
| 25 |
+
'max_context_length': 131072,
|
| 26 |
+
},
|
| 27 |
+
],
|
| 28 |
}));
|
| 29 |
|
| 30 |
app.post('*', async (c) => {
|