linoyts HF Staff commited on
Commit
60dc651
·
verified ·
1 Parent(s): bb19ae5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -156,8 +156,7 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
156
  with gr.Column():
157
  input_image = gr.Image(
158
  label="Input Image",
159
- type="pil",
160
- sources=["upload"]
161
  )
162
 
163
  prompt = gr.Textbox(
@@ -227,14 +226,14 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
227
  [
228
  "astronaut.jpg",
229
  "An astronaut hatches from a fragile egg on the surface of the Moon, the shell cracking and peeling apart in gentle low-gravity motion. Fine lunar dust lifts and drifts outward with each movement, floating in slow arcs before settling back onto the ground. The astronaut pushes free in a deliberate, weightless motion, small fragments of the egg tumbling and spinning through the air. In the background, the deep darkness of space subtly shifts as stars glide with the camera's movement, emphasizing vast depth and scale. The camera performs a smooth, cinematic slow push-in, with natural parallax between the foreground dust, the astronaut, and the distant starfield. Ultra-realistic detail, physically accurate low-gravity motion, cinematic lighting, and a breath-taking, movie-like shot.",
230
- 5.0,
231
  ]
232
  ],
233
  fn=generate_video,
234
  inputs=[input_image, prompt, duration],
235
  outputs = [output_video],
236
  label="Example",
237
- cache_examples=True,
238
  )
239
 
240
 
 
156
  with gr.Column():
157
  input_image = gr.Image(
158
  label="Input Image",
159
+ type="pil"
 
160
  )
161
 
162
  prompt = gr.Textbox(
 
226
  [
227
  "astronaut.jpg",
228
  "An astronaut hatches from a fragile egg on the surface of the Moon, the shell cracking and peeling apart in gentle low-gravity motion. Fine lunar dust lifts and drifts outward with each movement, floating in slow arcs before settling back onto the ground. The astronaut pushes free in a deliberate, weightless motion, small fragments of the egg tumbling and spinning through the air. In the background, the deep darkness of space subtly shifts as stars glide with the camera's movement, emphasizing vast depth and scale. The camera performs a smooth, cinematic slow push-in, with natural parallax between the foreground dust, the astronaut, and the distant starfield. Ultra-realistic detail, physically accurate low-gravity motion, cinematic lighting, and a breath-taking, movie-like shot.",
229
+ 3.0,
230
  ]
231
  ],
232
  fn=generate_video,
233
  inputs=[input_image, prompt, duration],
234
  outputs = [output_video],
235
  label="Example",
236
+ cache_examples=False,
237
  )
238
 
239