Skip to content

Commit

Permalink
Update chat_paper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kaixindelele authored Mar 20, 2023
1 parent 0c2f591 commit 81f0c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat_paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def summary_with_chat(self, paper_list):
except:
pass
mode = 'w' if paper_index == 0 else 'a'
file_name = os.path.join(export_path, date_str+'-'+self.validateTitle(paper.title)+"."+self.file_format)
file_name = os.path.join(export_path, date_str+'-'+self.validateTitle(paper.title[:80])+"."+self.file_format)
self.export_to_markdown("\n".join(htmls), file_name=file_name, mode=mode)

# file_name = os.path.join(export_path, date_str+'-'+self.validateTitle(paper.title)+".md")
Expand Down

0 comments on commit 81f0c0c

Please sign in to comment.