Pclanglais commited on
Commit
d37ed38
1 Parent(s): 9934680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ class StopOnTokens(StoppingCriteria):
66
 
67
  def predict(message, history):
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]])
 
66
 
67
  def predict(message, history):
68
  text = vector_search(message)
69
+ message = message + "\n\n### Source ###\n" + text
70
  history_transformer_format = history + [[message, ""]]
71
 
72
  messages = "".join(["".join(["\n<human>:"+item[0], "\n<bot>:"+item[1]])