codelion commited on
Commit
918e905
·
verified ·
1 Parent(s): 8d94ca3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -261,7 +261,7 @@ def generate_item(user_input, ideas, generate_video=False, max_retries=3):
261
  config=types.GenerateVideosConfig(
262
  aspect_ratio="9:16",
263
  number_of_videos=1,
264
- duration_seconds=8,
265
  negative_prompt="blurry, low quality, text, letters"
266
  )
267
  )
@@ -302,7 +302,7 @@ def generate_item(user_input, ideas, generate_video=False, max_retries=3):
302
  config=types.GenerateVideosConfig(
303
  aspect_ratio="9:16",
304
  number_of_videos=1,
305
- duration_seconds=8,
306
  negative_prompt="blurry, low quality, text, letters"
307
  )
308
  )
 
261
  config=types.GenerateVideosConfig(
262
  aspect_ratio="9:16",
263
  number_of_videos=1,
264
+ duration_seconds=5,
265
  negative_prompt="blurry, low quality, text, letters"
266
  )
267
  )
 
302
  config=types.GenerateVideosConfig(
303
  aspect_ratio="9:16",
304
  number_of_videos=1,
305
+ duration_seconds=5,
306
  negative_prompt="blurry, low quality, text, letters"
307
  )
308
  )