Spaces:
Runtime error
Runtime error
Matt
commited on
Commit
•
442c891
1
Parent(s):
6e9ff49
Reformat args
Browse files
app.py
CHANGED
@@ -146,12 +146,12 @@ with gr.Blocks() as demo:
|
|
146 |
inputs=[template_in, conversation_in, generation_prompt_check, cleanup_whitespace_check],
|
147 |
outputs=[formatted_out, code_snippet_out]
|
148 |
)
|
149 |
-
load_chatml.click(load_template, ["chatml"])
|
150 |
-
load_zephyr.click(load_template, ["zephyr"])
|
151 |
-
load_llama.click(load_template, ["llama"])
|
152 |
-
load_alpaca.click(load_template, ["alpaca"])
|
153 |
-
load_vicuna.click(load_template, ["vicuna"])
|
154 |
-
load_falcon.click(load_template, ["falcon"])
|
155 |
|
156 |
|
157 |
demo.launch()
|
|
|
146 |
inputs=[template_in, conversation_in, generation_prompt_check, cleanup_whitespace_check],
|
147 |
outputs=[formatted_out, code_snippet_out]
|
148 |
)
|
149 |
+
load_chatml.click(fn=load_template, inputs=["chatml"])
|
150 |
+
load_zephyr.click(fn=load_template, inputs=["zephyr"])
|
151 |
+
load_llama.click(fn=load_template, inputs=["llama"])
|
152 |
+
load_alpaca.click(fn=load_template, inputs=["alpaca"])
|
153 |
+
load_vicuna.click(fn=load_template, inputs=["vicuna"])
|
154 |
+
load_falcon.click(fn=load_template, inputs=["falcon"])
|
155 |
|
156 |
|
157 |
demo.launch()
|