运行中的错误
在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
请问是怎么个事
重新运行了一下,卡在论文文件夹不动了,展示了里面的具体文件名
成功了,
遇到了同样的问题,请描述一下解决方案,感谢!
重新运行了两次,都是空输出
