Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def format_prompt(message, history):
|
|
91 |
'''
|
92 |
|
93 |
messages = [
|
94 |
-
{"role": "user", "content":
|
95 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
96 |
|
97 |
return prompt
|
|
|
91 |
'''
|
92 |
|
93 |
messages = [
|
94 |
+
{"role": "user", "content": message},]
|
95 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
96 |
|
97 |
return prompt
|