diff options
author | enganese (aka Ulxn) <69082498+enganese@users.noreply.github.com> | 2023-05-23 12:35:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 12:35:54 +0200 |
commit | 75a52d68f85a1536a7d1e3738215ba52087aedc3 (patch) | |
tree | e11ed955b2799b482328aa0984e20921322caec6 | |
parent | Merge pull request #591 from enganese/patch-1 (diff) | |
download | gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.tar gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.tar.gz gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.tar.bz2 gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.tar.lz gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.tar.xz gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.tar.zst gpt4free-75a52d68f85a1536a7d1e3738215ba52087aedc3.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) |