Your Name commited on
Commit
86924ff
1 Parent(s): fedc748
Files changed (1) hide show
  1. functional_crazy.py +3 -1
functional_crazy.py CHANGED
@@ -109,7 +109,9 @@ def 解析项目本身(txt, top_p, temperature, chatbot, history, systemPromptTx
109
  chatbot[-1] = (i_say, gpt_say)
110
  history.append(i_say); history.append(gpt_say)
111
  yield chatbot, history, '正常'
112
-
 
 
113
 
114
  @CatchException
115
  def 解析一个Python项目(txt, top_p, temperature, chatbot, history, systemPromptTxt, WEB_PORT):
 
109
  chatbot[-1] = (i_say, gpt_say)
110
  history.append(i_say); history.append(gpt_say)
111
  yield chatbot, history, '正常'
112
+ res = write_results_to_file(history)
113
+ chatbot.append(("完成了吗?", res))
114
+ yield chatbot, history, '正常'
115
 
116
  @CatchException
117
  def 解析一个Python项目(txt, top_p, temperature, chatbot, history, systemPromptTxt, WEB_PORT):