[BUG]AttributeError: 'dict' object has no attribute 'lower'
zihao-ai opened this issue · comments
Traceback (most recent call last):
File "main.py", line 60, in
main()
File "main.py", line 43, in main
results = exec_search(indexes, candidates, query, mode, threshold, confs, limit)
File "/home/zhuzihao/AI-Paper-Collector/searcher.py", line 179, in exec_search
results = exact_search(indexes, query, confs)
File "/home/zhuzihao/AI-Paper-Collector/searcher.py", line 86, in exact_search
results = [item for item in indexes if query in item[1].lower()]
File "/home/zhuzihao/AI-Paper-Collector/searcher.py", line 86, in
results = [item for item in indexes if query in item[1].lower()]
AttributeError: 'dict' object has no attribute 'lower'
ref: #67