Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -1039,7 +1039,11 @@ purple_citrus = gr.themes.Citrus(
|
|
| 1039 |
)
|
| 1040 |
|
| 1041 |
with gr.Blocks(title="LTX 2.3 Move", css=css, theme=purple_citrus) as demo:
|
| 1042 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1043 |
|
| 1044 |
# Hidden state — preprocessing is always Pose
|
| 1045 |
video_preprocess = gr.State("Pose (DWPose)")
|
|
@@ -1060,6 +1064,13 @@ with gr.Blocks(title="LTX 2.3 Move", css=css, theme=purple_citrus) as demo:
|
|
| 1060 |
|
| 1061 |
|
| 1062 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1063 |
duration = gr.Slider(
|
| 1064 |
label="Duration (s)", minimum=1.0, maximum=15.0, value=3.0, step=0.5,
|
| 1065 |
)
|
|
@@ -1070,13 +1081,7 @@ with gr.Blocks(title="LTX 2.3 Move", css=css, theme=purple_citrus) as demo:
|
|
| 1070 |
)
|
| 1071 |
|
| 1072 |
with gr.Accordion("Advanced Settings", open=False):
|
| 1073 |
-
|
| 1074 |
-
label="Prompt",
|
| 1075 |
-
value="Make this come alive with cinematic motion, smooth animation",
|
| 1076 |
-
lines=2,
|
| 1077 |
-
placeholder="Describe the style, motion, and content you want...",
|
| 1078 |
-
|
| 1079 |
-
)
|
| 1080 |
enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=True)
|
| 1081 |
conditioning_strength = gr.Slider(
|
| 1082 |
label="V2V Conditioning Strength",
|
|
|
|
| 1039 |
)
|
| 1040 |
|
| 1041 |
with gr.Blocks(title="LTX 2.3 Move", css=css, theme=purple_citrus) as demo:
|
| 1042 |
+
gr.Markdown("""
|
| 1043 |
+
# LTX 2.3 Sync 🕺
|
| 1044 |
+
#### Character Animation with LTX 2.3
|
| 1045 |
+
using [Lightricks/LTX-2.3-22b-IC-LoRA-Union-Control](https://huggingface.co/Lightricks/LTX-2.3-22b-IC-LoRA-Union-Control) with pose estimation & custom audio inputs for precise lipsync and body movement replication ✨
|
| 1046 |
+
""")
|
| 1047 |
|
| 1048 |
# Hidden state — preprocessing is always Pose
|
| 1049 |
video_preprocess = gr.State("Pose (DWPose)")
|
|
|
|
| 1064 |
|
| 1065 |
|
| 1066 |
with gr.Row():
|
| 1067 |
+
prompt = gr.Textbox(
|
| 1068 |
+
label="Prompt",
|
| 1069 |
+
info="tip: describe the motion, body posture, facial expressions of the ref video",
|
| 1070 |
+
lines=2,
|
| 1071 |
+
placeholder="the person talks to the camera, making hand gestures",
|
| 1072 |
+
|
| 1073 |
+
)
|
| 1074 |
duration = gr.Slider(
|
| 1075 |
label="Duration (s)", minimum=1.0, maximum=15.0, value=3.0, step=0.5,
|
| 1076 |
)
|
|
|
|
| 1081 |
)
|
| 1082 |
|
| 1083 |
with gr.Accordion("Advanced Settings", open=False):
|
| 1084 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1085 |
enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=True)
|
| 1086 |
conditioning_strength = gr.Slider(
|
| 1087 |
label="V2V Conditioning Strength",
|