diff options
author | MaxKUlish1 <93388714+MaxKUlish1@users.noreply.github.com> | 2023-08-17 22:59:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 22:59:25 +0200 |
commit | 7f753c32b938dca81cb23c1c818b82bffc986a97 (patch) | |
tree | 35062f8df54e487c8657edbf75e6c88e82ff736e /g4f | |
parent | Update Yqcloud.py (diff) | |
download | gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.tar gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.tar.gz gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.tar.bz2 gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.tar.lz gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.tar.xz gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.tar.zst gpt4free-7f753c32b938dca81cb23c1c818b82bffc986a97.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/Yqcloud.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/Yqcloud.py b/g4f/Provider/Yqcloud.py index 3709e53d..a3147c2d 100644 --- a/g4f/Provider/Yqcloud.py +++ b/g4f/Provider/Yqcloud.py @@ -22,6 +22,7 @@ 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 |