删除多余代码|增加代码注释

This commit is contained in:
w_xiaolizu
2023-05-22 16:51:46 +08:00
parent 331ab3be0d
commit 9b2bc97b67
3 changed files with 165 additions and 62 deletions

View File

@ -123,7 +123,7 @@ class ChatBot(ChatBotFrame):
inputs=[self.pro_prompt_list, self.pro_prompt_state, self.pro_results],
outputs=[self.pro_results])
self.pro_new_btn.click(fn=func_box.prompt_save,
inputs=[self.pro_edit_txt, self.pro_name_txt, self.pro_private_check, self.pro_fp_state],
inputs=[self.pro_edit_txt, self.pro_name_txt, self.pro_fp_state],
outputs=[self.pro_edit_txt, self.pro_name_txt, self.pro_private_check,
self.pro_func_prompt, self.pro_fp_state])