Marek4321 commited on
Commit
9b7d0e7
·
verified ·
1 Parent(s): 3ff023a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=30.0)
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