John Doe commited on
Commit
768e024
1 Parent(s): d64d8b3

increase max len

Browse files
Files changed (1) hide show
  1. modules/app.py +1 -1
modules/app.py CHANGED
@@ -35,7 +35,7 @@ else:
35
  PORT = 7860
36
  VERBOSE = False
37
 
38
- MAX_LENGTH = 256+64
39
  TRUNCATION_MESSAGE = f'warning: This demo is limited to {MAX_LENGTH} tokens in the document for efficiency.'
40
  BIG_MODEL = False
41
  CUDA = False
 
35
  PORT = 7860
36
  VERBOSE = False
37
 
38
+ MAX_LENGTH = 1024+64
39
  TRUNCATION_MESSAGE = f'warning: This demo is limited to {MAX_LENGTH} tokens in the document for efficiency.'
40
  BIG_MODEL = False
41
  CUDA = False