summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DeepInfra.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-11 03:11:45 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-11 03:11:45 +0200
commitc1ca4810741afd84ddb49151275f1841bc90d99b (patch)
treed96145e9681c80ae9273d48387cb21a1082b2483 /g4f/Provider/DeepInfra.py
parentAdd ReplicateImage Provider, Fix BingCreateImages Provider (diff)
downloadgpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.tar
gpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.tar.gz
gpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.tar.bz2
gpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.tar.lz
gpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.tar.xz
gpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.tar.zst
gpt4free-c1ca4810741afd84ddb49151275f1841bc90d99b.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"',