betajuned commited on
Commit
f1e53ad
1 Parent(s): e8b6689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def predict(input, history=[]):
23
 
24
  # generate a response
25
  history = model.generate(
26
- bot_input_ids, max_length=500, pad_token_id=tokenizer.eos_token_id
27
  ).tolist()
28
 
29
  # convert the tokens to text, and then split the responses into lines
 
23
 
24
  # generate a response
25
  history = model.generate(
26
+ bot_input_ids, max_length=200, pad_token_id=tokenizer.eos_token_id
27
  ).tolist()
28
 
29
  # convert the tokens to text, and then split the responses into lines