linoyts HF Staff commited on
Commit
15a435c
·
verified ·
1 Parent(s): fb55646

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -149,10 +149,9 @@ def generate_video(
149
 
150
 
151
  # Create Gradio interface
152
- with gr.Blocks(title="LTX-2 Distilled Image-to-Video") as demo:
153
- gr.Markdown("# LTX-2 Distilled Image-to-Video Generation")
154
- gr.Markdown("Faster generation using the distilled model (no negative prompt or CFG scale needed)")
155
-
156
  with gr.Row():
157
  with gr.Column():
158
  input_image = gr.Image(
@@ -163,6 +162,7 @@ with gr.Blocks(title="LTX-2 Distilled Image-to-Video") as demo:
163
 
164
  prompt = gr.Textbox(
165
  label="Prompt",
 
166
  value="Make this image come alive with cinematic motion, smooth animation",
167
  lines=3,
168
  placeholder="Describe the motion and animation you want..."
@@ -172,7 +172,7 @@ with gr.Blocks(title="LTX-2 Distilled Image-to-Video") as demo:
172
  label="Duration (seconds)",
173
  minimum=1.0,
174
  maximum=10.0,
175
- value=5.0,
176
  step=0.1
177
  )
178
 
 
149
 
150
 
151
  # Create Gradio interface
152
+ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
153
+ gr.Markdown("Fast, state-of-the-art video & audio generation with [Lightricks LTX-2 TI2V model]() and [distilattion LoRA]() for accelerated inference")
154
+ gr.Markdown("Read more: [[model]](), [[code]]()")
 
155
  with gr.Row():
156
  with gr.Column():
157
  input_image = gr.Image(
 
162
 
163
  prompt = gr.Textbox(
164
  label="Prompt",
165
+ info="for best results - make it as elaborate as possible",
166
  value="Make this image come alive with cinematic motion, smooth animation",
167
  lines=3,
168
  placeholder="Describe the motion and animation you want..."
 
172
  label="Duration (seconds)",
173
  minimum=1.0,
174
  maximum=10.0,
175
+ value=3.0,
176
  step=0.1
177
  )
178