Spaces:
Runtime error
Runtime error
Matt
commited on
Commit
·
d35cae7
1
Parent(s):
357b114
Update header
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ default_template = """{% for message in messages %}
|
|
| 20 |
|
| 21 |
description_text = """### This space is a helper app for writing [Chat Templates](https://huggingface.co/docs/transformers/main/en/chat_templating).
|
| 22 |
|
| 23 |
-
### When you're happy with the outputs from your template, you can use the code block at the end to
|
| 24 |
|
| 25 |
def apply_chat_template(template, test_conversation, add_generation_prompt, cleanup_whitespace):
|
| 26 |
if cleanup_whitespace:
|
|
|
|
| 20 |
|
| 21 |
description_text = """### This space is a helper app for writing [Chat Templates](https://huggingface.co/docs/transformers/main/en/chat_templating).
|
| 22 |
|
| 23 |
+
### When you're happy with the outputs from your template, you can use the code block at the end to add it to a PR!"""
|
| 24 |
|
| 25 |
def apply_chat_template(template, test_conversation, add_generation_prompt, cleanup_whitespace):
|
| 26 |
if cleanup_whitespace:
|