diff options
author | enganese (aka Ulxn) <69082498+enganese@users.noreply.github.com> | 2023-05-22 08:46:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 08:46:01 +0200 |
commit | f8284d6073d1735b4cd1cd99d7cb953e72abb96e (patch) | |
tree | e9c6142a886d12586d9696cddcbc7bd07750f34c | |
parent | Merge pull request #584 from ezerinz/main (diff) | |
download | gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.tar gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.tar.gz gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.tar.bz2 gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.tar.lz gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.tar.xz gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.tar.zst gpt4free-f8284d6073d1735b4cd1cd99d7cb953e72abb96e.zip |
Diffstat (limited to '')
-rw-r--r-- | gpt4free/usesless/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpt4free/usesless/__init__.py b/gpt4free/usesless/__init__.py index 7c61936e..9efc410f 100644 --- a/gpt4free/usesless/__init__.py +++ b/gpt4free/usesless/__init__.py @@ -117,6 +117,7 @@ class Completion: url = "https://ai.usesless.com/api/chat-process" request = requests.post(url, headers=headers, json=json_data) + request.encoding = request.apparent_encoding content = request.content response = Completion.__response_to_json(content) |