Update app.py
Browse files
app.py
CHANGED
|
@@ -333,8 +333,7 @@ pipeline = LTX23DistilledA2VPipeline(
|
|
| 333 |
)
|
| 334 |
# ----------------------------------------------------------------
|
| 335 |
|
| 336 |
-
def _make_lora_key(pose_strength: float, general_strength: float, motion_strength: float, dreamlay_strength: float,
|
| 337 |
-
rp = round(float(pose_strength), 2)
|
| 338 |
rg = round(float(general_strength), 2)
|
| 339 |
rm = round(float(motion_strength), 2)
|
| 340 |
rd = round(float(dreamlay_strength), 2)
|
|
@@ -737,27 +736,27 @@ with gr.Blocks(title="LTX-2.3 Distilled") as demo:
|
|
| 737 |
label="Anthro Posing Helper strength",
|
| 738 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 739 |
)
|
| 740 |
-
|
| 741 |
label="Dreamlay strength",
|
| 742 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 743 |
)
|
| 744 |
-
|
| 745 |
label="Mself strength",
|
| 746 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 747 |
)
|
| 748 |
-
|
| 749 |
label="Dramatic strength",
|
| 750 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 751 |
)
|
| 752 |
-
|
| 753 |
label="Fluid Helper strength",
|
| 754 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 755 |
)
|
| 756 |
-
|
| 757 |
label="Liquid Helper strength",
|
| 758 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 759 |
)
|
| 760 |
-
|
| 761 |
label="Demopose Helper strength",
|
| 762 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 763 |
)
|
|
|
|
| 333 |
)
|
| 334 |
# ----------------------------------------------------------------
|
| 335 |
|
| 336 |
+
def _make_lora_key(pose_strength: float, general_strength: float, motion_strength: float, dreamlay_strength: float, mself_strength: float, dramatic_strength: float, fluid_strength: float, liquid_strength: float, demopose_strength: float) -> tuple[str, str]: rp = round(float(pose_strength), 2)
|
|
|
|
| 337 |
rg = round(float(general_strength), 2)
|
| 338 |
rm = round(float(motion_strength), 2)
|
| 339 |
rd = round(float(dreamlay_strength), 2)
|
|
|
|
| 736 |
label="Anthro Posing Helper strength",
|
| 737 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 738 |
)
|
| 739 |
+
dreamlay_strength = gr.Slider(
|
| 740 |
label="Dreamlay strength",
|
| 741 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 742 |
)
|
| 743 |
+
mself_strength = gr.Slider(
|
| 744 |
label="Mself strength",
|
| 745 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 746 |
)
|
| 747 |
+
dramatic_strength = gr.Slider(
|
| 748 |
label="Dramatic strength",
|
| 749 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 750 |
)
|
| 751 |
+
fluid_strength = gr.Slider(
|
| 752 |
label="Fluid Helper strength",
|
| 753 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 754 |
)
|
| 755 |
+
liquid_strength = gr.Slider(
|
| 756 |
label="Liquid Helper strength",
|
| 757 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 758 |
)
|
| 759 |
+
demopose_strength = gr.Slider(
|
| 760 |
label="Demopose Helper strength",
|
| 761 |
minimum=0.0, maximum=2.0, value=0.0, step=0.01
|
| 762 |
)
|