Spaces:
Running on Zero
Running on Zero
Update app.py
#2
by linoyts HF Staff - opened
app.py
CHANGED
|
@@ -452,12 +452,8 @@ with gr.Blocks(title="LTX-2.3 Distilled") as demo:
|
|
| 452 |
lines=3,
|
| 453 |
placeholder="Describe the motion and animation you want...",
|
| 454 |
)
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
duration = gr.Slider(label="Duration (seconds)", minimum=1.0, maximum=10.0, value=3.0, step=0.1)
|
| 458 |
-
with gr.Column():
|
| 459 |
-
enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=False)
|
| 460 |
-
high_res = gr.Checkbox(label="High Resolution", value=True)
|
| 461 |
|
| 462 |
generate_btn = gr.Button("Generate Video", variant="primary", size="lg")
|
| 463 |
|
|
@@ -467,6 +463,9 @@ with gr.Blocks(title="LTX-2.3 Distilled") as demo:
|
|
| 467 |
with gr.Row():
|
| 468 |
width = gr.Number(label="Width", value=1536, precision=0)
|
| 469 |
height = gr.Number(label="Height", value=1024, precision=0)
|
|
|
|
|
|
|
|
|
|
| 470 |
|
| 471 |
with gr.Column():
|
| 472 |
output_video = gr.Video(label="Generated Video", autoplay=True)
|
|
|
|
| 452 |
lines=3,
|
| 453 |
placeholder="Describe the motion and animation you want...",
|
| 454 |
)
|
| 455 |
+
duration = gr.Slider(label="Duration (seconds)", minimum=1.0, maximum=10.0, value=3.0, step=0.1)
|
| 456 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 457 |
|
| 458 |
generate_btn = gr.Button("Generate Video", variant="primary", size="lg")
|
| 459 |
|
|
|
|
| 463 |
with gr.Row():
|
| 464 |
width = gr.Number(label="Width", value=1536, precision=0)
|
| 465 |
height = gr.Number(label="Height", value=1024, precision=0)
|
| 466 |
+
with gr.Row():
|
| 467 |
+
enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=False)
|
| 468 |
+
high_res = gr.Checkbox(label="High Resolution", value=True)
|
| 469 |
|
| 470 |
with gr.Column():
|
| 471 |
output_video = gr.Video(label="Generated Video", autoplay=True)
|