Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaisheng committed Jul 26, 2024
1 parent 07314f9 commit 118e44c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def _progress(self):

async def runtime(self, context: dict):
keyword_ = context.get("keyword")
print(f"Searching for keyword: {keyword_}")

res = arxiv.Search(
query="ti:"+keyword_+"+OR+abs:"+keyword_,
max_results=self.max_results,
Expand Down

0 comments on commit 118e44c

Please sign in to comment.