Tonic commited on
Commit
a369bf4
·
1 Parent(s): 31f2849

Update app.py

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