From 5de30dd097d02d3d3a359274aa676efdbfd168cc Mon Sep 17 00:00:00 2001 From: MaxKUlish1 <93388714+MaxKUlish1@users.noreply.github.com> Date: Fri, 18 Aug 2023 02:54:31 +0600 Subject: Update Yqcloud.py --- g4f/Provider/Yqcloud.py | 1 - 1 file changed, 1 deletion(-) diff --git a/g4f/Provider/Yqcloud.py b/g4f/Provider/Yqcloud.py index a3147c2d..3709e53d 100644 --- a/g4f/Provider/Yqcloud.py +++ b/g4f/Provider/Yqcloud.py @@ -22,7 +22,6 @@ class Yqcloud(BaseProvider): url = "https://api.aichatos.cloud/api/generateStream" response = requests.post(url=url, headers=headers, json=payload) response.raise_for_status() - response.encoding = 'utf-8' yield response.text -- cgit v1.2.3