Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -74,8 +74,8 @@ app.post('/gen', upload.single('image'), async (req, res) => {
|
|
| 74 |
"text": prompt,
|
| 75 |
},
|
| 76 |
{
|
| 77 |
-
"type": "image/
|
| 78 |
-
"
|
| 79 |
},
|
| 80 |
],
|
| 81 |
}
|
|
|
|
| 74 |
"text": prompt,
|
| 75 |
},
|
| 76 |
{
|
| 77 |
+
"type": "image/png",
|
| 78 |
+
"base64": img,
|
| 79 |
},
|
| 80 |
],
|
| 81 |
}
|