linoyts HF Staff commited on
Commit
0737653
·
verified ·
1 Parent(s): 20982df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -284,7 +284,7 @@ def worker(input_image, prompt, n_prompt, seed, total_second_length, latent_wind
284
  stream.output_queue.push(('end', None))
285
  return
286
 
287
- def get_duration(input_image, prompt, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf):
288
  return total_second_length * 60
289
 
290
  @spaces.GPU(duration=get_duration)
 
284
  stream.output_queue.push(('end', None))
285
  return
286
 
287
+ def get_duration(input_image, prompt, t2v, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf):
288
  return total_second_length * 60
289
 
290
  @spaces.GPU(duration=get_duration)