atunc29 commited on
Commit
f991534
·
verified ·
1 Parent(s): c1e6be7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -435,8 +435,9 @@ def get_duration(
435
  input_image, prompt, t2v, n_prompt,
436
  seed, total_second_length, latent_window_size,
437
  steps, cfg, gs, rs, gpu_memory_preservation,
438
- use_teacache, mp4_crf
439
  ):
 
440
  return total_second_length * 60
441
 
442
  @spaces.GPU(duration=get_duration)
 
435
  input_image, prompt, t2v, n_prompt,
436
  seed, total_second_length, latent_window_size,
437
  steps, cfg, gs, rs, gpu_memory_preservation,
438
+ use_teacache, mp4_crf, quality_radio=None, aspect_ratio=None
439
  ):
440
+ # Accept extra arguments for compatibility with process()
441
  return total_second_length * 60
442
 
443
  @spaces.GPU(duration=get_duration)