s3nh commited on
Commit
ccb0936
1 Parent(s): bf8b925

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -84,6 +84,10 @@ HUMAN: {question}
84
  ASSISTANT:"""
85
 
86
 
 
 
 
 
87
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
88
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
89
 
 
84
  ASSISTANT:"""
85
 
86
 
87
+ prompt_template = """System: You are a helpful assistant.
88
+ User: {prompt}
89
+ Assistant: """
90
+
91
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
92
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
93