Spaces:
Running
on
T4
Running
on
T4
Update modules/app.py
Browse files- 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+
|
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:
|