NguyenTan commited on
Commit
1e01b49
·
verified ·
1 Parent(s): f343046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
12
  model.to(device)
13
  model.eval()
14
 
15
- MAX_TOKENS = 160
16
 
17
  # ===== Inference function =====
18
  def generate(text):
 
12
  model.to(device)
13
  model.eval()
14
 
15
+ MAX_TOKENS = 128000
16
 
17
  # ===== Inference function =====
18
  def generate(text):