summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server/internet.py
diff options
context:
space:
mode:
authorhs_junxiang <jimmy871117@gmail.com>2023-10-11 10:57:46 +0200
committerhs_junxiang <jimmy871117@gmail.com>2023-10-11 10:57:46 +0200
commit50ecd887c8c4166f02537324d2fac86f82ff2123 (patch)
tree48e0d1501bfb4fe326029ff674d9c020ce51b4d4 /g4f/gui/server/internet.py
parent~ (diff)
downloadgpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.tar
gpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.tar.gz
gpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.tar.bz2
gpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.tar.lz
gpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.tar.xz
gpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.tar.zst
gpt4free-50ecd887c8c4166f02537324d2fac86f82ff2123.zip
Diffstat (limited to 'g4f/gui/server/internet.py')
-rw-r--r--g4f/gui/server/internet.py3
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)