Matt commited on
Commit
1ecbf2a
1 Parent(s): cce5ad0
Files changed (1) hide show
  1. app.py +2 -2
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=(template_in, conversation_in, generation_prompt_check, cleanup_whitespace_check),
59
- outputs=(formatted_out, code_snippet_out)
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()