Spaces:
Runtime error
Runtime error
Commit
·
83c961c
1
Parent(s):
d14b77d
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def chat_history(history) -> str:
|
|
| 19 |
]
|
| 20 |
|
| 21 |
return pipe.tokenizer.apply_chat_template(
|
| 22 |
-
messages,
|
| 23 |
)
|
| 24 |
|
| 25 |
|
|
|
|
| 19 |
]
|
| 20 |
|
| 21 |
return pipe.tokenizer.apply_chat_template(
|
| 22 |
+
messages, tokenize=False, add_generation_prompt=True
|
| 23 |
)
|
| 24 |
|
| 25 |
|