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