linoyts HF Staff commited on
Commit
6ec23da
·
verified ·
1 Parent(s): 5a392ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -181,9 +181,9 @@ def generate_video(
181
 
182
 
183
  # Create Gradio interface
184
- with gr.Blocks(title="LTX-2 Image-to-Video") as demo:
185
- gr.Markdown("# LTX-2 Image-to-Video Generation")
186
-
187
  with gr.Row():
188
  with gr.Column():
189
  input_image = gr.Image(
@@ -194,6 +194,7 @@ with gr.Blocks(title="LTX-2 Image-to-Video") as demo:
194
 
195
  prompt = gr.Textbox(
196
  label="Prompt",
 
197
  value="Make this image come alive with cinematic motion, smooth animation",
198
  lines=3,
199
  placeholder="Describe the motion and animation you want..."
@@ -203,7 +204,7 @@ with gr.Blocks(title="LTX-2 Image-to-Video") as demo:
203
  label="Duration (seconds)",
204
  minimum=1.0,
205
  maximum=10.0,
206
- value=5.0,
207
  step=0.1
208
  )
209
 
 
181
 
182
 
183
  # Create Gradio interface
184
+ with gr.Blocks(title="LTX-2 Video 🎥🔈") as demo:
185
+ gr.Markdown("State-of-the-art video & audio generation with Lightricks LTX-2 TI2V")
186
+ gr.Markdown("Read more: [[model]](), [[code]]()")
187
  with gr.Row():
188
  with gr.Column():
189
  input_image = gr.Image(
 
194
 
195
  prompt = gr.Textbox(
196
  label="Prompt",
197
+ info=" for best results - make it as elaborate as possible"
198
  value="Make this image come alive with cinematic motion, smooth animation",
199
  lines=3,
200
  placeholder="Describe the motion and animation you want..."
 
204
  label="Duration (seconds)",
205
  minimum=1.0,
206
  maximum=10.0,
207
+ value=3.0,
208
  step=0.1
209
  )
210