Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|