Spaces:
Runtime error
Runtime error
Matt
commited on
Commit
•
1ecbf2a
1
Parent(s):
cce5ad0
Typo
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ with gr.Blocks():
|
|
55 |
formatted_out = gr.TextArea(label="Formatted conversation")
|
56 |
code_snippet_out = gr.TextArea(label="Code snippet to create PR", lines=3, show_label=True, show_copy_button=True)
|
57 |
submit.click(fn=apply_chat_template,
|
58 |
-
inputs=
|
59 |
-
outputs=
|
60 |
)
|
61 |
|
62 |
demo.launch()
|
|
|
55 |
formatted_out = gr.TextArea(label="Formatted conversation")
|
56 |
code_snippet_out = gr.TextArea(label="Code snippet to create PR", lines=3, show_label=True, show_copy_button=True)
|
57 |
submit.click(fn=apply_chat_template,
|
58 |
+
inputs=[template_in, conversation_in, generation_prompt_check, cleanup_whitespace_check],
|
59 |
+
outputs=[formatted_out, code_snippet_out]
|
60 |
)
|
61 |
|
62 |
demo.launch()
|