mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-05 00:01:00 +00:00
Merge pull request #595 from enganese/patch-2
Update gpt4free/aiassist/__init__.py
This commit is contained in:
commit
edbdc2ae30
@ -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