Fix Horde image gen

This commit is contained in:
SillyLossy
2023-05-16 12:46:58 +03:00
parent 3b5ce2f669
commit 7192c912ab

View File

@ -2974,9 +2974,11 @@ app.post('/horde_generateimage', jsonParser, async (request, response) => {
return response.send(result.generations[0].img);
}
/*
if (!check.is_possible) {
return response.sendStatus(503);
}
*/
if (check.faulted) {
return response.sendStatus(500);