From 7968ae52fb3d5540464f6fdf29350aa0dfe7e955 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 13 Jan 2024 15:56:29 +0100 Subject: Fix merge issues --- g4f/Provider/bing/upload_image.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'g4f/Provider') diff --git a/g4f/Provider/bing/upload_image.py b/g4f/Provider/bing/upload_image.py index 041905fd..d92451fa 100644 --- a/g4f/Provider/bing/upload_image.py +++ b/g4f/Provider/bing/upload_image.py @@ -3,17 +3,14 @@ from __future__ import annotations import string import random import json -import io -import base64 import math -from PIL import Image from ...typing import ImageType from aiohttp import ClientSession from ...image import to_image, process_image, to_base64 image_config = { "maxImagePixels": 360000, - "imageComp.ssionRate": 0.7, + "imageCompressionRate": 0.7, "enableFaceBlurDebug": 0, } -- cgit v1.2.3