diff options
author | MaxKUlish1 <93388714+MaxKUlish1@users.noreply.github.com> | 2023-08-17 23:03:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 23:03:52 +0200 |
commit | 030b3e37816ebe2ba0b5b2ef19c380d97acb66fa (patch) | |
tree | 35062f8df54e487c8657edbf75e6c88e82ff736e | |
parent | Update Yqcloud.py (diff) | |
parent | Update Yqcloud.py (diff) | |
download | gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.gz gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.bz2 gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.lz gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.xz gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.zst gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.zip |
-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 |