summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/You.py
diff options
context:
space:
mode:
authormsi-JunXiang <jimmy871117@gmail.com>2023-09-03 10:26:26 +0200
committermsi-JunXiang <jimmy871117@gmail.com>2023-09-03 10:26:26 +0200
commit901595b10f08972ee3ac5fc08c346dbb561a7d62 (patch)
tree85ab7d042d3a77d3ca579e886b96d474fbfc6229 /g4f/Provider/You.py
parent~ |  Merge pull request #872 (diff)
downloadgpt4free-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/You.py')
-rw-r--r--g4f/Provider/You.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/g4f/Provider/You.py b/g4f/Provider/You.py
index 1fbe1eb6..121d1dbd 100644
--- a/g4f/Provider/You.py
+++ b/g4f/Provider/You.py
@@ -1,6 +1,9 @@
-from aiohttp import ClientSession
+from __future__ import annotations
+
import json
+from aiohttp import ClientSession
+
from ..typing import AsyncGenerator
from .base_provider import AsyncGeneratorProvider, format_prompt, get_cookies