summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DeepInfra.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-11 03:36:12 +0200
committerGitHub <noreply@github.com>2024-04-11 03:36:12 +0200
commit4271fb9870fff99be2895216a839a9484aa5dbf3 (patch)
tree78a714c01fac85ed34856e9c295f9028efed576b /g4f/Provider/DeepInfra.py
parentMerge pull request #1817 from hlohaus/bugfix (diff)
parentAdd ReplicateImage to provider list (diff)
downloadgpt4free-0.2.9.4.tar
gpt4free-0.2.9.4.tar.gz
gpt4free-0.2.9.4.tar.bz2
gpt4free-0.2.9.4.tar.lz
gpt4free-0.2.9.4.tar.xz
gpt4free-0.2.9.4.tar.zst
gpt4free-0.2.9.4.zip
Diffstat (limited to 'g4f/Provider/DeepInfra.py')
-rw-r--r--g4f/Provider/DeepInfra.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/g4f/Provider/DeepInfra.py b/g4f/Provider/DeepInfra.py
index 53c8d6b9..fb809b7f 100644
--- a/g4f/Provider/DeepInfra.py
+++ b/g4f/Provider/DeepInfra.py
@@ -35,7 +35,6 @@ class DeepInfra(Openai):
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'en-US',
'Connection': 'keep-alive',
- 'Content-Type': None,
'Origin': 'https://deepinfra.com',
'Referer': 'https://deepinfra.com/',
'Sec-Fetch-Dest': 'empty',
@@ -43,7 +42,6 @@ class DeepInfra(Openai):
'Sec-Fetch-Site': 'same-site',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36',
'X-Deepinfra-Source': 'web-embed',
- 'Accept': None,
'sec-ch-ua': '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"macOS"',