Skip to content

Commit

Permalink
消除未定义的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
kaixindelele authored Mar 22, 2023
1 parent f7446f7 commit 7a32bde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chat_paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def summary_with_chat(self, paper_list):
# methods
method_text += paper.section_text_dict[method_key]
text = summary_text + "\n\n<Methods>:\n\n" + method_text
# chat_method_text = self.chat_method(text=text)
chat_method_text = ""
try:
chat_method_text = self.chat_method(text=text)
except Exception as e:
Expand Down Expand Up @@ -233,7 +233,7 @@ def summary_with_chat(self, paper_list):
text = summary_text + "\n\n<Conclusion>:\n\n" + conclusion_text
else:
text = summary_text
# chat_conclusion_text = self.chat_conclusion(text=text)
chat_conclusion_text = ""
try:
chat_conclusion_text = self.chat_conclusion(text=text)
except Exception as e:
Expand Down

0 comments on commit 7a32bde

Please sign in to comment.