s3nh commited on
Commit
982cd05
·
1 Parent(s): d635a52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -81,6 +81,10 @@ 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
+ prompt_template = """System: You are a helpful assistant.
85
+ User: {prompt}
86
+ Assistant: """
87
+
88
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
89
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
90