ritwikbiswas commited on
Commit
eca7a33
1 Parent(s): 8030c80

try updating max length allowed

Browse files
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 = 1000#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: