Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ Quer saber mais sobre contratos?
|
|
16 |
|
17 |
"""
|
18 |
|
19 |
-
MAX_MAX_NEW_TOKENS =
|
20 |
-
DEFAULT_MAX_NEW_TOKENS =
|
21 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
22 |
|
23 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
|
16 |
|
17 |
"""
|
18 |
|
19 |
+
MAX_MAX_NEW_TOKENS = 4096
|
20 |
+
DEFAULT_MAX_NEW_TOKENS = 4096
|
21 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
22 |
|
23 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|