shibing624/ChatPDF

推理3个数据,就开始报错,重新运行后又可以成功推理

jy-101361-1810897 opened this issue · 1 comments

Traceback (most recent call last):
File "/home/ubuntu/chatpdf.py", line 212, in
response1 = m.query('Please indicate the empirical research data provided in the literature on vaccine '
File "/home/ubuntu/chatpdf.py", line 163, in query
reference_results.append(self.sim_model.corpus[corpus_id])
KeyError: 184

同样的问题,请问怎么解决?