diff options
author | msi-JunXiang <jimmy871117@gmail.com> | 2023-09-03 10:26:26 +0200 |
---|---|---|
committer | msi-JunXiang <jimmy871117@gmail.com> | 2023-09-03 10:26:26 +0200 |
commit | 901595b10f08972ee3ac5fc08c346dbb561a7d62 (patch) | |
tree | 85ab7d042d3a77d3ca579e886b96d474fbfc6229 /g4f/Provider/Bard.py | |
parent | ~ | Merge pull request #872 (diff) | |
download | gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.tar gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.tar.gz gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.tar.bz2 gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.tar.lz gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.tar.xz gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.tar.zst gpt4free-901595b10f08972ee3ac5fc08c346dbb561a7d62.zip |
Diffstat (limited to 'g4f/Provider/Bard.py')
-rw-r--r-- | g4f/Provider/Bard.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/g4f/Provider/Bard.py b/g4f/Provider/Bard.py index 978fa98e..2137d820 100644 --- a/g4f/Provider/Bard.py +++ b/g4f/Provider/Bard.py @@ -1,9 +1,13 @@ +from __future__ import annotations + import json import random import re + from aiohttp import ClientSession -from .base_provider import AsyncProvider, get_cookies, format_prompt +from .base_provider import AsyncProvider, format_prompt, get_cookies + class Bard(AsyncProvider): url = "https://bard.google.com" |