Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -374,7 +374,7 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
|
|
| 374 |
"""
|
| 375 |
<div style="text-align: left;">
|
| 376 |
<p style="font-size:16px; display: inline; margin: 0;">
|
| 377 |
-
<strong>LTX-2 Distilled</strong>
|
| 378 |
</p>
|
| 379 |
<a href="https://huggingface.co/Lightricks/LTX-2" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 380 |
[model]
|
|
@@ -401,19 +401,18 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
|
|
| 401 |
max_lines=3,
|
| 402 |
placeholder="Describe the motion and animation you want..."
|
| 403 |
)
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 411 |
)
|
| 412 |
-
enhance_prompt = gr.Checkbox(
|
| 413 |
-
label="Enhance Prompt",
|
| 414 |
-
value=True,
|
| 415 |
-
visible=False
|
| 416 |
-
)
|
| 417 |
|
| 418 |
with gr.Accordion("Advanced Settings", open=False):
|
| 419 |
seed = gr.Slider(
|
|
@@ -492,4 +491,4 @@ css = '''
|
|
| 492 |
.gradio-container .contain{max-width: 1200px !important; margin: 0 auto !important}
|
| 493 |
'''
|
| 494 |
if __name__ == "__main__":
|
| 495 |
-
demo.launch(
|
|
|
|
| 374 |
"""
|
| 375 |
<div style="text-align: left;">
|
| 376 |
<p style="font-size:16px; display: inline; margin: 0;">
|
| 377 |
+
<strong>LTX-2 Distilled</strong> DiT-based audio-video foundation model
|
| 378 |
</p>
|
| 379 |
<a href="https://huggingface.co/Lightricks/LTX-2" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 380 |
[model]
|
|
|
|
| 401 |
max_lines=3,
|
| 402 |
placeholder="Describe the motion and animation you want..."
|
| 403 |
)
|
| 404 |
+
duration = gr.Slider(
|
| 405 |
+
label="Duration (seconds)",
|
| 406 |
+
minimum=1.0,
|
| 407 |
+
maximum=10.0,
|
| 408 |
+
value=3.0,
|
| 409 |
+
step=0.1
|
| 410 |
+
)
|
| 411 |
+
enhance_prompt = gr.Checkbox(
|
| 412 |
+
label="Enhance Prompt",
|
| 413 |
+
value=True,
|
| 414 |
+
visible=False
|
| 415 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 416 |
|
| 417 |
with gr.Accordion("Advanced Settings", open=False):
|
| 418 |
seed = gr.Slider(
|
|
|
|
| 491 |
.gradio-container .contain{max-width: 1200px !important; margin: 0 auto !important}
|
| 492 |
'''
|
| 493 |
if __name__ == "__main__":
|
| 494 |
+
demo.launch()
|