Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ prompt_template = """### HUMAN:
|
|
82 |
### RESPONSE:"""
|
83 |
|
84 |
|
85 |
-
prompt_template = """<|prompt
|
86 |
|
87 |
_ = [elm for elm in prompt_template.splitlines() if elm.strip()]
|
88 |
stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
|
|
|
82 |
### RESPONSE:"""
|
83 |
|
84 |
|
85 |
+
prompt_template = """<|prompt|>:{question}</s><|answer|>:"""
|
86 |
|
87 |
_ = [elm for elm in prompt_template.splitlines() if elm.strip()]
|
88 |
stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
|