r3gm commited on
Commit
13df71f
·
verified ·
1 Parent(s): d3934d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -285,14 +285,13 @@ def get_inference_duration(
285
  gen_time = int(steps) * step_duration
286
  print(gen_time)
287
  if guidance_scale > 1:
288
- gen_time = gen_time * 1.5
289
  if guidance_scale_2 > 1:
290
- gen_time = gen_time * 1.5
291
 
292
  if frame_multiplier > 1:
293
- # total_out_frames = (num_frames * frame_multiplier)
294
- # inter_time = (total_out_frames * 0.02)
295
- inter_time = duration_seconds
296
  print(inter_time)
297
  gen_time += inter_time
298
 
 
285
  gen_time = int(steps) * step_duration
286
  print(gen_time)
287
  if guidance_scale > 1:
288
+ gen_time = gen_time * 1.55
289
  if guidance_scale_2 > 1:
290
+ gen_time = gen_time * 1.55
291
 
292
  if frame_multiplier > 1:
293
+ total_out_frames = (num_frames * frame_multiplier) - num_frames
294
+ inter_time = (total_out_frames * 0.02)
 
295
  print(inter_time)
296
  gen_time += inter_time
297