MLNLP-World / AI-Paper-Collector

MLNLP社区用来更好进行论文搜索的工具。Fully-automated scripts for collecting AI-related papers

Home Page:https://ai-paper-collector.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[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