mirror of https://github.com/xtekky/gpt4free.git
~ | Merge pull request #1044 from Lin-jun-xiang/main
Fix: TypeError: unsupported operand type(s) for |:...
This commit is contained in:
commit
c433863f30
|
@ -1,4 +1,7 @@
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from duckduckgo_search import DDGS
|
from duckduckgo_search import DDGS
|
||||||
|
|
||||||
ddgs = DDGS(timeout=20)
|
ddgs = DDGS(timeout=20)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import g4f
|
import g4f
|
||||||
from g4f import BaseProvider
|
from g4f import BaseProvider
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue