Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -339,10 +339,13 @@ def generate_video(
|
|
| 339 |
return None, seed
|
| 340 |
|
| 341 |
# Create Gradio interface
|
| 342 |
-
with gr.Blocks() as demo:
|
| 343 |
gr.Markdown(
|
| 344 |
"""
|
| 345 |
-
# LTX Video
|
|
|
|
|
|
|
|
|
|
| 346 |
"""
|
| 347 |
)
|
| 348 |
|
|
@@ -374,7 +377,7 @@ with gr.Blocks() as demo:
|
|
| 374 |
)
|
| 375 |
|
| 376 |
duration = gr.Slider(
|
| 377 |
-
label="Duration (seconds)",
|
| 378 |
minimum=1.0,
|
| 379 |
maximum=10.0,
|
| 380 |
step=0.5,
|
|
@@ -435,7 +438,9 @@ with gr.Blocks() as demo:
|
|
| 435 |
)
|
| 436 |
|
| 437 |
generate_btn = gr.Button(
|
| 438 |
-
"Generate",
|
|
|
|
|
|
|
| 439 |
)
|
| 440 |
|
| 441 |
with gr.Column(scale=1):
|
|
|
|
| 339 |
return None, seed
|
| 340 |
|
| 341 |
# Create Gradio interface
|
| 342 |
+
with gr.Blocks(theme=gr.themes.Soft(primary_hue="purple")) as demo:
|
| 343 |
gr.Markdown(
|
| 344 |
"""
|
| 345 |
+
# Canny Control LTX Video Distilled
|
| 346 |
+
|
| 347 |
+
LTX Video 0.9.7 Distilled with [control canny ICLoRA](https://huggingface.co/Lightricks/LTX-Video-ICLoRA-canny-13b-0.9.7)
|
| 348 |
+
control AI video generation - by concatenation of control signals and LoRAs trained on just a few samples β¨
|
| 349 |
"""
|
| 350 |
)
|
| 351 |
|
|
|
|
| 377 |
)
|
| 378 |
|
| 379 |
duration = gr.Slider(
|
| 380 |
+
label="β±οΈ Duration (seconds)",
|
| 381 |
minimum=1.0,
|
| 382 |
maximum=10.0,
|
| 383 |
step=0.5,
|
|
|
|
| 438 |
)
|
| 439 |
|
| 440 |
generate_btn = gr.Button(
|
| 441 |
+
"Generate Video",
|
| 442 |
+
variant="primary",
|
| 443 |
+
size="lg"
|
| 444 |
)
|
| 445 |
|
| 446 |
with gr.Column(scale=1):
|