bump timeout to 20 mins

This commit is contained in:
Luke Robles 2022-10-06 18:09:05 -07:00
parent 90ab46c224
commit 75ee022247

View File

@ -57,7 +57,7 @@ async def generate_image(ip, port, positives, negatives, steps):
],
}
client = httpx.AsyncClient()
response = await client.post(url, headers=headers, json=json_data, timeout=300)
response = await client.post(url, headers=headers, json=json_data, timeout=1200)
imageb64 = response.json()["data"][0][0].split("data:image/png;base64,")[1]
imgdata = base64.b64decode(imageb64)