Update modules/app.py

#1
by stalkerum - opened
Files changed (1) hide show
  1. modules/app.py +1 -1
modules/app.py CHANGED
@@ -38,7 +38,7 @@ VERBOSE = False
38
  if os.path.exists('unlock'):
39
  MAX_LENGTH = 2048
40
  else:
41
- MAX_LENGTH = 256+64
42
  TRUNCATION_MESSAGE = f'warning: This demo is limited to {MAX_LENGTH} tokens in the document for efficiency.'
43
 
44
  if BIG_MODEL:
38
  if os.path.exists('unlock'):
39
  MAX_LENGTH = 2048
40
  else:
41
+ MAX_LENGTH = 256+409600
42
  TRUNCATION_MESSAGE = f'warning: This demo is limited to {MAX_LENGTH} tokens in the document for efficiency.'
43
 
44
  if BIG_MODEL: