s3nh commited on
Commit
40d0643
·
1 Parent(s): ac0eedb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -81,6 +81,8 @@ prompt_template = """### HUMAN:
81
 
82
  ### RESPONSE:"""
83
 
 
 
84
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
85
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
86
 
 
81
 
82
  ### RESPONSE:"""
83
 
84
+ prmpt_template = """<|prompt|>{question}</s><|answer|>"""
85
+
86
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
87
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
88