Fabrice-TIERCELIN commited on
Commit
7ec4d6d
·
verified ·
1 Parent(s): 91c6df6
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -141,9 +141,9 @@ def get_duration(prompt, negative_prompt, input_image_filepath, input_video_file
141
  seed_ui, randomize_seed, ui_guidance_scale, improve_texture_flag,
142
  progress):
143
  if duration_ui > 7:
144
- return 75
145
  else:
146
- return 60
147
 
148
  @spaces.GPU(duration=get_duration)
149
  def generate(prompt, negative_prompt, input_image_filepath, input_video_filepath,
 
141
  seed_ui, randomize_seed, ui_guidance_scale, improve_texture_flag,
142
  progress):
143
  if duration_ui > 7:
144
+ return 120
145
  else:
146
+ return 120
147
 
148
  @spaces.GPU(duration=get_duration)
149
  def generate(prompt, negative_prompt, input_image_filepath, input_video_filepath,