diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-11-15 18:19:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 18:19:14 +0100 |
commit | 9da45f9a63c06925e633f6e515c6e16e5177160a (patch) | |
tree | e268ebe307633f98061d62f3f60b25b2acf09099 | |
parent | Update internet.py (diff) | |
download | gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.tar gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.tar.gz gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.tar.bz2 gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.tar.lz gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.tar.xz gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.tar.zst gpt4free-9da45f9a63c06925e633f6e515c6e16e5177160a.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/gui/server/internet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/server/internet.py b/g4f/gui/server/internet.py index 70442415..a2d0165b 100644 --- a/g4f/gui/server/internet.py +++ b/g4f/gui/server/internet.py @@ -101,7 +101,7 @@ async def search(query: str, n_results: int = 5, max_words: int = 2500, add_text raise MissingRequirementsError('Install "duckduckgo-search" and "beautifulsoup4" package') async with AsyncDDGS() as ddgs: results = [] - for result in await ddgs.atext( + for result in await ddgs.atext( query, region="wt-wt", safesearch="moderate", |