Spaces:
Runtime error
Runtime error
Commit
·
8003e58
1
Parent(s):
cba9315
Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 257 |
input_message.submit(submit_message, [ input_message, prompt_template, temperature, max_tokens, context_length, state], [input_message, chatbot, total_tokens_str, state])
|
| 258 |
btn_clear_conversation.click(clear_conversation, [], [input_message, chatbot, total_tokens_str, state])
|
| 259 |
#prompt_template.change(on_prompt_template_change, inputs=[prompt_template], outputs=[prompt_template_preview])
|
| 260 |
-
prompt_template.change(on_prompt_template_change, inputs=[prompt_template], outputs
|
| 261 |
|
| 262 |
|
| 263 |
demo.load(download_prompt_templates, inputs=None, outputs=[prompt_template], queur=False)
|
|
|
|
| 257 |
input_message.submit(submit_message, [ input_message, prompt_template, temperature, max_tokens, context_length, state], [input_message, chatbot, total_tokens_str, state])
|
| 258 |
btn_clear_conversation.click(clear_conversation, [], [input_message, chatbot, total_tokens_str, state])
|
| 259 |
#prompt_template.change(on_prompt_template_change, inputs=[prompt_template], outputs=[prompt_template_preview])
|
| 260 |
+
prompt_template.change(on_prompt_template_change, inputs=[prompt_template], outputs=[prompt_template_preview])
|
| 261 |
|
| 262 |
|
| 263 |
demo.load(download_prompt_templates, inputs=None, outputs=[prompt_template], queur=False)
|