r3gm commited on
Commit
827ea56
·
verified ·
1 Parent(s): 3c518f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def get_duration(
159
  frames = get_num_frames(duration_seconds)
160
  factor = frames * width * height / BASE_FRAMES_HEIGHT_WIDTH
161
  step_duration = BASE_STEP_DURATION * factor ** 1.5
162
- return 10 + int(steps) * step_duration
163
 
164
  @spaces.GPU(duration=get_duration)
165
  def generate_video(
 
159
  frames = get_num_frames(duration_seconds)
160
  factor = frames * width * height / BASE_FRAMES_HEIGHT_WIDTH
161
  step_duration = BASE_STEP_DURATION * factor ** 1.5
162
+ return 5 + int(steps) * step_duration
163
 
164
  @spaces.GPU(duration=get_duration)
165
  def generate_video(