Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -607,32 +607,7 @@ def on_highres_toggle(first_image, last_image, high_res):
|
|
| 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)
|
|
|
|
| 607 |
|
| 608 |
|
| 609 |
def get_gpu_duration(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 610 |
gpu_duration: float,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 611 |
progress=None,
|
| 612 |
):
|
| 613 |
return int(gpu_duration)
|