#1199 I'm not even sure anymore
This commit is contained in:
parent
22e3c25e12
commit
165997c791
|
@ -99,7 +99,7 @@ function registerEndpoints(app, jsonParser) {
|
||||||
|
|
||||||
const MAX_ATTEMPTS = 200;
|
const MAX_ATTEMPTS = 200;
|
||||||
const CHECK_INTERVAL = 3000;
|
const CHECK_INTERVAL = 3000;
|
||||||
const PROMPT_THRESHOLD = 1000;
|
const PROMPT_THRESHOLD = 5000;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const maxLength = PROMPT_THRESHOLD - String(request.body.negative_prompt).length - 5;
|
const maxLength = PROMPT_THRESHOLD - String(request.body.negative_prompt).length - 5;
|
||||||
|
|
Loading…
Reference in New Issue