Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]搜索的时候会出错怎么办 #67

Closed
cntommy opened this issue Oct 13, 2022 · 1 comment
Closed

[Question]搜索的时候会出错怎么办 #67

cntommy opened this issue Oct 13, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@cntommy
Copy link

cntommy commented Oct 13, 2022

Question
本地和colab上执行都会出错,请问下这怎么解决呢

Screenshots

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 "/content/AI-Paper-Collector/searcher.py", line 179, in exec_search
results = exact_search(indexes, query, confs)
File "/content/AI-Paper-Collector/searcher.py", line 86, in exact_search
results = [item for item in indexes if query in item[1].lower()]
File "/content/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'

@cntommy cntommy added the documentation Improvements or additions to documentation label Oct 13, 2022
@Doragd
Copy link
Collaborator

Doragd commented Oct 13, 2022

本地版本似乎存在问题,我会在一段时间后fix,在这之前,推荐使用web版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants