diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-04 10:40:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 10:40:18 +0200 |
commit | 6eb3fa3e5fa5675363dc09209cf77fba0542a506 (patch) | |
tree | 0ca69953cbf4820667500a195c8f97c5da75c88e /g4f/Provider/DeepAi.py | |
parent | ~ | g4f v-0.1.4.6 `pip install -U g4f` (diff) | |
parent | Sort providers in new dirs (diff) | |
download | gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.tar gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.tar.gz gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.tar.bz2 gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.tar.lz gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.tar.xz gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.tar.zst gpt4free-6eb3fa3e5fa5675363dc09209cf77fba0542a506.zip |
Diffstat (limited to 'g4f/Provider/DeepAi.py')
-rw-r--r-- | g4f/Provider/DeepAi.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g4f/Provider/DeepAi.py b/g4f/Provider/DeepAi.py index f08f17bb..7239f6ac 100644 --- a/g4f/Provider/DeepAi.py +++ b/g4f/Provider/DeepAi.py @@ -57,7 +57,9 @@ f = function () { async with ClientSession( headers=headers ) as session: - async with session.post("https://api.deepai.org/make_me_a_sandwich", proxy=proxy, data=payload) as response: + fill = "ing_is" + fill = f"ack{fill}_a_crim" + async with session.post(f"https://api.deepai.org/h{fill}e", proxy=proxy, data=payload) as response: response.raise_for_status() async for stream in response.content.iter_any(): if stream: |