Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2496,7 +2496,29 @@ def apply_example(idx: str):
|
|
| 2496 |
|
| 2497 |
|
| 2498 |
with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
|
| 2499 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2500 |
with gr.Column(elem_id="col-container"):
|
| 2501 |
with gr.Row(elem_id="mode-row"):
|
| 2502 |
radioanimated_mode = RadioAnimated(
|
|
@@ -2666,28 +2688,7 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
|
|
| 2666 |
)
|
| 2667 |
|
| 2668 |
generate_btn = gr.Button("🤩 Generate Video", variant="primary", elem_classes="button-gradient")
|
| 2669 |
-
|
| 2670 |
-
gr.HTML(
|
| 2671 |
-
"""
|
| 2672 |
-
<div style="text-align: center;">
|
| 2673 |
-
<p style="font-size:16px; display: inline; margin: 0;">
|
| 2674 |
-
<strong>LTX-2 Distilled</strong> DiT-based audio-video foundation model
|
| 2675 |
-
</p>
|
| 2676 |
-
<a href="https://huggingface.co/Lightricks/LTX-2"
|
| 2677 |
-
target="_blank"
|
| 2678 |
-
rel="noopener noreferrer"
|
| 2679 |
-
style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 2680 |
-
[model]
|
| 2681 |
-
</a>
|
| 2682 |
-
</div>
|
| 2683 |
-
<div style="text-align: center;">
|
| 2684 |
-
<strong>HF Space by:</strong>
|
| 2685 |
-
<a href="https://huggingface.co/alexnasa" target="_blank" rel="noopener noreferrer" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 2686 |
-
<img src="https://img.shields.io/badge/🤗-Follow Me-green.svg">
|
| 2687 |
-
</a>
|
| 2688 |
-
</div>
|
| 2689 |
-
"""
|
| 2690 |
-
)
|
| 2691 |
|
| 2692 |
camera_ui.change(
|
| 2693 |
fn=lambda x: x,
|
|
|
|
| 2496 |
|
| 2497 |
|
| 2498 |
with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
|
| 2499 |
+
|
| 2500 |
+
gr.HTML(
|
| 2501 |
+
"""
|
| 2502 |
+
<div style="text-align: center;">
|
| 2503 |
+
<p style="font-size:16px; display: inline; margin: 0;">
|
| 2504 |
+
<strong>LTX-2 Distilled</strong> DiT-based audio-video foundation model
|
| 2505 |
+
</p>
|
| 2506 |
+
<a href="https://huggingface.co/Lightricks/LTX-2"
|
| 2507 |
+
target="_blank"
|
| 2508 |
+
rel="noopener noreferrer"
|
| 2509 |
+
style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 2510 |
+
[model]
|
| 2511 |
+
</a>
|
| 2512 |
+
</div>
|
| 2513 |
+
<div style="text-align: center;">
|
| 2514 |
+
<strong>HF Space by:</strong>
|
| 2515 |
+
<a href="https://huggingface.co/alexnasa" target="_blank" rel="noopener noreferrer" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 2516 |
+
<img src="https://img.shields.io/badge/🤗-Follow Me-green.svg">
|
| 2517 |
+
</a>
|
| 2518 |
+
</div>
|
| 2519 |
+
"""
|
| 2520 |
+
)
|
| 2521 |
+
|
| 2522 |
with gr.Column(elem_id="col-container"):
|
| 2523 |
with gr.Row(elem_id="mode-row"):
|
| 2524 |
radioanimated_mode = RadioAnimated(
|
|
|
|
| 2688 |
)
|
| 2689 |
|
| 2690 |
generate_btn = gr.Button("🤩 Generate Video", variant="primary", elem_classes="button-gradient")
|
| 2691 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2692 |
|
| 2693 |
camera_ui.change(
|
| 2694 |
fn=lambda x: x,
|