summaryrefslogtreecommitdiffstats
path: root/g4f/gui
diff options
context:
space:
mode:
authorYash Varshney <107148830+varshney-yash@users.noreply.github.com>2023-12-31 21:12:10 +0100
committerGitHub <noreply@github.com>2023-12-31 21:12:10 +0100
commitb5368c276d3f90dd65aad67f6d670fd1956bb86a (patch)
tree9ae35ceb0708cd5ce2c65f3af39f0b794f1f7378 /g4f/gui
parent~ | g4f v-0.1.9.7 (diff)
downloadgpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.tar
gpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.tar.gz
gpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.tar.bz2
gpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.tar.lz
gpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.tar.xz
gpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.tar.zst
gpt4free-b5368c276d3f90dd65aad67f6d670fd1956bb86a.zip
Diffstat (limited to 'g4f/gui')
-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]