From a9672bead0ab21dfbd749d1373643e32eb997045 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Tue, 7 May 2024 07:33:22 +0200 Subject: Update Bing.py --- g4f/Provider/Bing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f/Provider') diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py index 7e64a617..046c05c1 100644 --- a/g4f/Provider/Bing.py +++ b/g4f/Provider/Bing.py @@ -11,7 +11,8 @@ from datetime import datetime, date from ..typing import AsyncResult, Messages, ImageType, Cookies from ..image import ImageRequest from ..errors import ResponseError, ResponseStatusError, RateLimitError -from ..requests import StreamSession, DEFAULT_HEADERS +from ..requests import DEFAULT_HEADERS +from ..requests.aiohttp import StreamSession from .base_provider import AsyncGeneratorProvider, ProviderModelMixin from .helper import get_random_hex from .bing.upload_image import upload_image -- cgit v1.2.3