Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
@@ -50,7 +50,9 @@ app.post('/gen', async (req, res) => {
|
|
50 |
},
|
51 |
{
|
52 |
"type": "image_url",
|
53 |
-
"
|
|
|
|
|
54 |
},
|
55 |
},
|
56 |
],
|
|
|
50 |
},
|
51 |
{
|
52 |
"type": "image_url",
|
53 |
+
"image_url": {
|
54 |
+
"url": `data:image/jpeg;base64,${img}`,
|
55 |
+
"detail": "high",
|
56 |
},
|
57 |
},
|
58 |
],
|