mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-05 00:01:00 +00:00
Update gpt4free/aiassist/__init__.py
Added: request.encoding = request.apparent_encoding
This commit is contained in:
parent
a076cd916a
commit
75a52d68f8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user