#1199 I'm not even sure anymore

This commit is contained in:
Cohee
2023-09-30 15:42:37 +03:00
parent 22e3c25e12
commit 165997c791

View File

@@ -99,7 +99,7 @@ function registerEndpoints(app, jsonParser) {
const MAX_ATTEMPTS = 200;
const CHECK_INTERVAL = 3000;
const PROMPT_THRESHOLD = 1000;
const PROMPT_THRESHOLD = 5000;
try {
const maxLength = PROMPT_THRESHOLD - String(request.body.negative_prompt).length - 5;