mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Horde image gen
This commit is contained in:
@ -2974,9 +2974,11 @@ app.post('/horde_generateimage', jsonParser, async (request, response) => {
|
|||||||
return response.send(result.generations[0].img);
|
return response.send(result.generations[0].img);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if (!check.is_possible) {
|
if (!check.is_possible) {
|
||||||
return response.sendStatus(503);
|
return response.sendStatus(503);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (check.faulted) {
|
if (check.faulted) {
|
||||||
return response.sendStatus(500);
|
return response.sendStatus(500);
|
||||||
|
Reference in New Issue
Block a user