Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -192,7 +192,7 @@ app.post('/api/nsfw-check', async (req, res) => {
|
|
192 |
})
|
193 |
}
|
194 |
if (type.ext == "webp") {
|
195 |
-
let converting = await
|
196 |
let response = await check_nsfw(converting)
|
197 |
res.json({
|
198 |
status: "ok",
|
|
|
192 |
})
|
193 |
}
|
194 |
if (type.ext == "webp") {
|
195 |
+
let converting = await webpToJpg(img)
|
196 |
let response = await check_nsfw(converting)
|
197 |
res.json({
|
198 |
status: "ok",
|