Spaces:
Paused
Paused
CreitinGameplays
commited on
Commit
•
2783953
1
Parent(s):
9cb4a5a
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
|
|
9 |
|
10 |
MAX_MAX_NEW_TOKENS = 4096
|
11 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
12 |
-
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "
|
13 |
|
14 |
DESCRIPTION = """\
|
15 |
# ConvAI 9b v2 Chat
|
|
|
9 |
|
10 |
MAX_MAX_NEW_TOKENS = 4096
|
11 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
12 |
+
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "9216"))
|
13 |
|
14 |
DESCRIPTION = """\
|
15 |
# ConvAI 9b v2 Chat
|