summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server/internet.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-12-31 22:56:55 +0100
committerGitHub <noreply@github.com>2023-12-31 22:56:55 +0100
commitf1885b9bbcb7236f2370b589f324078524feb87d (patch)
tree9ae35ceb0708cd5ce2c65f3af39f0b794f1f7378 /g4f/gui/server/internet.py
parent~ | g4f v-0.1.9.7 (diff)
parentremove unnecessary semicolon (diff)
downloadgpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.tar
gpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.tar.gz
gpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.tar.bz2
gpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.tar.lz
gpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.tar.xz
gpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.tar.zst
gpt4free-f1885b9bbcb7236f2370b589f324078524feb87d.zip
Diffstat (limited to 'g4f/gui/server/internet.py')
-rw-r--r--g4f/gui/server/internet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/server/internet.py b/g4f/gui/server/internet.py
index 9a14e25f..97f842d7 100644
--- a/g4f/gui/server/internet.py
+++ b/g4f/gui/server/internet.py
@@ -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]