ChatPaper icon indicating copy to clipboard operation
ChatPaper copied to clipboard

运行中的错误

Open Chetni opened this issue 2 years ago • 4 comments

apikey.ini 修改了api之后运行: python3 chat_paper.py --pdf_path /Users/chentianma/Desktop/PDF 出现报错:Traceback (most recent call last): File "/Users/chentianma/Documents/GitHub/ChatPaper/chat_paper.py", line 478, in <module> main(args=args) ^^^^^^^^^^^^^^^ File "/Users/chentianma/Documents/GitHub/ChatPaper/chat_paper.py", line 446, in main reader1.summary_with_chat(paper_list=paper_list) File "/Users/chentianma/Documents/GitHub/ChatPaper/chat_paper.py", line 245, in summary_with_chat htmls.append(chat_conclusion_text) ^^^^^^^^^^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'chat_conclusion_text' where it is not associated with a value 请问是怎么个事

Chetni avatar Mar 22 '23 03:03 Chetni

重新运行了一下,卡在论文文件夹不动了,展示了里面的具体文件名

Chetni avatar Mar 22 '23 03:03 Chetni

成功了,

Chetni avatar Mar 22 '23 03:03 Chetni

遇到了同样的问题,请描述一下解决方案,感谢!

Jalen-Zhong avatar Mar 22 '23 03:03 Jalen-Zhong

重新运行了两次,都是空输出 截屏2023-03-23 11 43 57

Chetni avatar Mar 22 '23 03:03 Chetni