Merge pull request #1411 from varshney-yash/main

remove unnecessary semicolon
This commit is contained in:
H Lohaus 2023-12-31 22:56:55 +01:00 committed by GitHub
commit f1885b9bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ async def search(query: str, n_results: int = 5, max_words: int = 2500, add_text
texts = await asyncio.gather(*requests)
formatted_results = []
left_words = max_words;
left_words = max_words
for i, entry in enumerate(results):
if add_text:
entry.text = texts[i]