Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,9 @@ prompt_template = """System: You are a helpful assistant.
|
|
85 |
User: {question}
|
86 |
Assistant: """
|
87 |
|
|
|
|
|
|
|
88 |
|
89 |
_ = [elm for elm in prompt_template.splitlines() if elm.strip()]
|
90 |
stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
|
|
|
85 |
User: {question}
|
86 |
Assistant: """
|
87 |
|
88 |
+
prompt_template = """USER: {question} \n
|
89 |
+
ASSISTANT:"""
|
90 |
+
|
91 |
|
92 |
_ = [elm for elm in prompt_template.splitlines() if elm.strip()]
|
93 |
stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
|