Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ async def generate_video(api_key: str, prompt: str, optimize_prompt: bool = True
|
|
| 41 |
|
| 42 |
async with httpx.AsyncClient() as client:
|
| 43 |
try:
|
| 44 |
-
response = await client.post(CREATE_URL, headers=headers, json=data, timeout=
|
| 45 |
response.raise_for_status()
|
| 46 |
response_data = response.json()
|
| 47 |
|
|
|
|
| 41 |
|
| 42 |
async with httpx.AsyncClient() as client:
|
| 43 |
try:
|
| 44 |
+
response = await client.post(CREATE_URL, headers=headers, json=data, timeout=60.0)
|
| 45 |
response.raise_for_status()
|
| 46 |
response_data = response.json()
|
| 47 |
|