Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,8 +151,7 @@ def generate_video(
|
|
| 151 |
# Create Gradio interface
|
| 152 |
with gr.Blocks(title="LTX-2 Video Distilled π₯π") as demo:
|
| 153 |
gr.Markdown("# LTX-2 Video Distilled π₯π")
|
| 154 |
-
gr.Markdown("Fast, state-of-the-art video & audio generation with [Lightricks LTX-2 TI2V model]() and [distilattion LoRA]() for accelerated inference")
|
| 155 |
-
gr.Markdown("Read more: [[model]](), [[code]]()")
|
| 156 |
with gr.Row():
|
| 157 |
with gr.Column():
|
| 158 |
input_image = gr.Image(
|
|
@@ -235,7 +234,7 @@ with gr.Blocks(title="LTX-2 Video Distilled π₯π") as demo:
|
|
| 235 |
inputs=[input_image, prompt, duration],
|
| 236 |
outputs = [output_video],
|
| 237 |
label="Example",
|
| 238 |
-
cache_examples=
|
| 239 |
)
|
| 240 |
|
| 241 |
|
|
|
|
| 151 |
# Create Gradio interface
|
| 152 |
with gr.Blocks(title="LTX-2 Video Distilled π₯π") as demo:
|
| 153 |
gr.Markdown("# LTX-2 Video Distilled π₯π")
|
| 154 |
+
gr.Markdown("Fast, state-of-the-art video & audio generation with [Lightricks LTX-2 TI2V model]() and [distilattion LoRA]() for accelerated inference. Read more: [[model]](), [[code]]()")
|
|
|
|
| 155 |
with gr.Row():
|
| 156 |
with gr.Column():
|
| 157 |
input_image = gr.Image(
|
|
|
|
| 234 |
inputs=[input_image, prompt, duration],
|
| 235 |
outputs = [output_video],
|
| 236 |
label="Example",
|
| 237 |
+
cache_examples=True,
|
| 238 |
)
|
| 239 |
|
| 240 |
|