diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-11 19:49:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 19:49:41 +0200 |
commit | c433863f30a4ec0bd359cab1aeeb4dae3e253263 (patch) | |
tree | 22a01be6ae3bed857ca3867e69d2445457096e53 /g4f/gui/server/internet.py | |
parent | ~ | Merge pull request #1043 from eltociear/patch-3 (diff) | |
parent | Fix: TypeError: unsupported operand type(s) for |:... (diff) | |
download | gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.tar gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.tar.gz gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.tar.bz2 gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.tar.lz gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.tar.xz gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.tar.zst gpt4free-c433863f30a4ec0bd359cab1aeeb4dae3e253263.zip |
Diffstat (limited to 'g4f/gui/server/internet.py')
-rw-r--r-- | g4f/gui/server/internet.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g4f/gui/server/internet.py b/g4f/gui/server/internet.py index 75edb9cb..5c150ad6 100644 --- a/g4f/gui/server/internet.py +++ b/g4f/gui/server/internet.py @@ -1,4 +1,7 @@ +from __future__ import annotations + from datetime import datetime + from duckduckgo_search import DDGS ddgs = DDGS(timeout=20) |