karthickg12 commited on
Commit
bef6044
1 Parent(s): 7ba3602

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def chat():
103
  i_s=tokenizer.encode_plus(h_s,i,return_tensors="pt")
104
  outputs=model.generate(**i_s,max_length=60)
105
  response=tokenizer.decode(outputs[0],skip_special_tokens=True).strip()
106
- ch.appned(i)
107
  ch.append(response)
108
  return response
109
  if __name__ == "__main__":
 
103
  i_s=tokenizer.encode_plus(h_s,i,return_tensors="pt")
104
  outputs=model.generate(**i_s,max_length=60)
105
  response=tokenizer.decode(outputs[0],skip_special_tokens=True).strip()
106
+ ch.append(i)
107
  ch.append(response)
108
  return response
109
  if __name__ == "__main__":