danielsteinigen commited on
Commit
d9b5a69
1 Parent(s): 9d582a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def make_inference(utterance):
23
  )
24
 
25
  with torch.cuda.amp.autocast():
26
- output_tokens = model.generate(**batch, max_new_tokens=1)
27
 
28
  return tokenizer.decode(output_tokens[0], skip_special_tokens=True)
29
 
 
23
  )
24
 
25
  with torch.cuda.amp.autocast():
26
+ output_tokens = model.generate(**batch, max_new_tokens=2)
27
 
28
  return tokenizer.decode(output_tokens[0], skip_special_tokens=True)
29