Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -62,8 +62,7 @@ app.post('/gen', async (req, res) => {
|
|
| 62 |
{
|
| 63 |
"type": "image_url",
|
| 64 |
"image_url": {
|
| 65 |
-
"url": `data:image/jpeg;base64,${
|
| 66 |
-
"detail": "high",
|
| 67 |
},
|
| 68 |
},
|
| 69 |
],
|
|
|
|
| 62 |
{
|
| 63 |
"type": "image_url",
|
| 64 |
"image_url": {
|
| 65 |
+
"url": `data:image/jpeg;base64,${img}`,
|
|
|
|
| 66 |
},
|
| 67 |
},
|
| 68 |
],
|