(fix) img gen endpoints unstable

This commit is contained in:
Ishaan Jaff 2024-03-28 12:43:46 -07:00
parent 365497e860
commit 75614bc29c

View file

@ -201,7 +201,7 @@ async def image_generation(session, key):
if (
"Connection error" in response_text
): # OpenAI endpoint returns a connection error
pass
return
raise Exception(f"Request did not return a 200 status code: {status}")