Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ async def test_meme_generation(prompt):
|
|
53 |
"https://api.openai.com/v1/images/generations",
|
54 |
json=data,
|
55 |
headers=headers,
|
56 |
-
timeout=
|
57 |
)
|
58 |
if response.status_code == 200:
|
59 |
return response.json()["data"][0]["url"], None
|
|
|
53 |
"https://api.openai.com/v1/images/generations",
|
54 |
json=data,
|
55 |
headers=headers,
|
56 |
+
timeout=100
|
57 |
)
|
58 |
if response.status_code == 200:
|
59 |
return response.json()["data"][0]["url"], None
|