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