这个提交包含在:
Your Name
2023-03-24 13:12:25 +08:00
父节点 1c937edcb1
当前提交 fa22df9cb6
共有 5 个文件被更改,包括 176 次插入141 次删除

查看文件

@@ -106,7 +106,7 @@ with gr.Blocks() as demo:
# submitBtn.click(reset_textbox, [], [txt])
for k in functional:
functional[k]["Button"].click(predict,
[txt, top_p, temperature, chatbot, history, systemPromptTxt, FALSE, TRUE, gr.State(k)], [chatbot, history, statusDisplay], show_progress=True)
[txt, top_p, temperature, chatbot, history, systemPromptTxt, TRUE, gr.State(k)], [chatbot, history, statusDisplay], show_progress=True)
for k in crazy_functional:
crazy_functional[k]["Button"].click(crazy_functional[k]["Function"],
[txt, top_p, temperature, chatbot, history, systemPromptTxt, gr.State(PORT)], [chatbot, history, statusDisplay])