dagloop5 commited on
Commit
c236236
·
verified ·
1 Parent(s): 5622309

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -1
app.py CHANGED
@@ -606,7 +606,35 @@ def on_highres_toggle(first_image, last_image, high_res):
606
  return gr.update(value=w), gr.update(value=h)
607
 
608
 
609
- def get_gpu_duration(gpu_duration: float):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  return int(gpu_duration)
611
 
612
  @spaces.GPU(duration=get_gpu_duration)
 
606
  return gr.update(value=w), gr.update(value=h)
607
 
608
 
609
+ def get_gpu_duration(
610
+ first_image,
611
+ last_image,
612
+ input_audio,
613
+ prompt: str,
614
+ duration: float,
615
+ gpu_duration: float,
616
+ enhance_prompt: bool = True,
617
+ seed: int = 42,
618
+ randomize_seed: bool = True,
619
+ height: int = 1024,
620
+ width: int = 1536,
621
+ pose_strength: float = 0.0,
622
+ general_strength: float = 0.0,
623
+ motion_strength: float = 0.0,
624
+ dreamlay_strength: float = 0.0,
625
+ mself_strength: float = 0.0,
626
+ dramatic_strength: float = 0.0,
627
+ fluid_strength: float = 0.0,
628
+ liquid_strength: float = 0.0,
629
+ demopose_strength: float = 0.0,
630
+ voice_strength: float = 0.0,
631
+ realism_strength: float = 0.0,
632
+ transition_strength: float = 0.0,
633
+ physics_strength: float = 0.0,
634
+ reasoning_strength: float = 0.0,
635
+ twostep_strength: float = 0.0,
636
+ progress=None,
637
+ ):
638
  return int(gpu_duration)
639
 
640
  @spaces.GPU(duration=get_gpu_duration)