Fix: TypeError: unsupported operand type(s) for |:...

This commit is contained in:
hs_junxiang 2023-10-11 16:57:46 +08:00
parent 555e33565c
commit 50ecd887c8
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,7 @@
from __future__ import annotations
from datetime import datetime
from duckduckgo_search import DDGS
ddgs = DDGS(timeout=20)

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import g4f
from g4f import BaseProvider