Pclanglais commited on
Commit
13a82e8
1 Parent(s): 75ec164

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -68,7 +68,6 @@ def predict(message, history):
68
  text = vector_search(message)
69
  message = message + "\n\n### Source ###\n"
70
  history_transformer_format = history + [[message, ""]]
71
- stop = StopOnTokens()
72
 
73
  messages = "".join(["".join(["\n<human>:"+item[0], "\n<bot>:"+item[1]])
74
  for item in history_transformer_format])
 
68
  text = vector_search(message)
69
  message = message + "\n\n### Source ###\n"
70
  history_transformer_format = history + [[message, ""]]
 
71
 
72
  messages = "".join(["".join(["\n<human>:"+item[0], "\n<bot>:"+item[1]])
73
  for item in history_transformer_format])