bump timeout to 20 mins
This commit is contained in:
parent
95d882e92b
commit
f9e720284b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user