diff options
author | xtekky <98614666+xtekky@users.noreply.github.com> | 2023-05-24 19:39:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 19:39:46 +0200 |
commit | edbdc2ae30343fbd6769c496d14553a477fa2762 (patch) | |
tree | 9d0a27cb070f2786ced35bd6f35a795d11ffd09e | |
parent | Merge pull request #596 from enganese/main-1 (diff) | |
parent | Update gpt4free/aiassist/__init__.py (diff) | |
download | gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.tar gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.tar.gz gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.tar.bz2 gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.tar.lz gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.tar.xz gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.tar.zst gpt4free-edbdc2ae30343fbd6769c496d14553a477fa2762.zip |
-rw-r--r-- | gpt4free/aiassist/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpt4free/aiassist/__init__.py b/gpt4free/aiassist/__init__.py index 10082c22..f54feaee 100644 --- a/gpt4free/aiassist/__init__.py +++ b/gpt4free/aiassist/__init__.py @@ -21,6 +21,7 @@ class Completion: url = "http://43.153.7.56:8080/api/chat-process" request = requests.post(url, json=json_data) + request.encoding = request.apparent_encoding content = request.content response = Completion.__load_json(content) |