arthrod commited on
Commit
b0e1da6
1 Parent(s): 21fcd46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ Quer saber mais sobre contratos?
16
 
17
  """
18
 
19
- MAX_MAX_NEW_TOKENS = 2048
20
- DEFAULT_MAX_NEW_TOKENS = 1024
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")