~ | Fix DeepAi

pull/933/head
abc 1 year ago
parent a92a5cb8ef
commit d320efd2ff

@ -56,7 +56,7 @@ f = function () {
async with ClientSession( async with ClientSession(
headers=headers headers=headers
) as session: ) as session:
async with session.post("https://api.deepai.org/make_me_a_pizza", proxy=proxy, data=payload) as response: async with session.post("https://api.deepai.org/make_me_a_sandwich", proxy=proxy, data=payload) as response:
response.raise_for_status() response.raise_for_status()
async for stream in response.content.iter_any(): async for stream in response.content.iter_any():
if stream: if stream:

Loading…
Cancel
Save