Spaces:
Runtime error
Runtime error
Matt
commited on
Commit
•
cb589d0
1
Parent(s):
fcf6d89
Typo
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ iface = gr.Interface(
|
|
39 |
fn=apply_chat_template,
|
40 |
inputs=[
|
41 |
gr.TextArea(value=default_template, lines=10, max_lines=30, label="Chat Template"),
|
42 |
-
gr.
|
43 |
gr.TextArea(value=str(demo_conversation1), lines=5, label="Conversation 1"),
|
44 |
gr.TextArea(value=str(demo_conversation2), lines=5, label="Conversation 2")
|
45 |
],
|
|
|
39 |
fn=apply_chat_template,
|
40 |
inputs=[
|
41 |
gr.TextArea(value=default_template, lines=10, max_lines=30, label="Chat Template"),
|
42 |
+
gr.Checkbox(value=True, label="Cleanup template whitespace"),
|
43 |
gr.TextArea(value=str(demo_conversation1), lines=5, label="Conversation 1"),
|
44 |
gr.TextArea(value=str(demo_conversation2), lines=5, label="Conversation 2")
|
45 |
],
|