Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -171,20 +171,19 @@ with gr.Blocks(css=CSS, title="Helios Video Generation", theme=gr.themes.Soft())
171
  lines=4,
172
  placeholder="Describe the video you want to generate…",
173
  value=(
174
- "A dynamic time-lapse video showing the rapidly moving scenery "
175
- "from the window of a speeding train. The camera captures various "
176
- "elements such as lush green fields, towering trees, quaint "
177
- "countryside houses, and distant mountain ranges passing by quickly. "
178
- "Medium shot focusing on the train window and the rushing scenery beyond."
179
  ),
180
  )
181
 
182
  with gr.Accordion("Advanced Settings", open=False):
183
  with gr.Row():
184
- height = gr.Slider(128, 768, value=384, step=16, label="Height")
185
- width = gr.Slider(128, 1280, value=640, step=16, label="Width")
186
  with gr.Row():
187
- num_frames = gr.Slider(9, 240, value=240, step=1, label="Num Frames")
188
  num_inference_steps = gr.Slider(
189
  1, 10, value=2, step=1, label="Steps (per pyramid stage)"
190
  )
@@ -244,10 +243,11 @@ with gr.Blocks(css=CSS, title="Helios Video Generation", theme=gr.themes.Soft())
244
  ],
245
  [
246
  "Text-to-Video",
247
- "A vibrant tropical fish swimming gracefully among colorful coral "
248
- "reefs in a clear, turquoise ocean. The fish has bright blue and yellow "
249
- "scales with a small, distinctive orange spot on its side, its fins "
250
- "moving fluidly. A close-up shot with dynamic movement.",
 
251
  ],
252
  ],
253
  inputs=[mode, prompt],
 
171
  lines=4,
172
  placeholder="Describe the video you want to generate…",
173
  value=(
174
+ "A vibrant tropical fish swimming gracefully among colorful coral "
175
+ "reefs in a clear, turquoise ocean. The fish has bright blue and yellow "
176
+ "scales with a small, distinctive orange spot on its side, its fins "
177
+ "moving fluidly. A close-up shot with dynamic movement."
 
178
  ),
179
  )
180
 
181
  with gr.Accordion("Advanced Settings", open=False):
182
  with gr.Row():
183
+ height = gr.Number(value=384, label="Height", precision=0, interactive=False)
184
+ width = gr.Number(value=640, label="Width", precision=0, interactive=False)
185
  with gr.Row():
186
+ num_frames = gr.Slider(33, 240, value=33, step=33, label="Num Frames (must be multiple of 33)")
187
  num_inference_steps = gr.Slider(
188
  1, 10, value=2, step=1, label="Steps (per pyramid stage)"
189
  )
 
243
  ],
244
  [
245
  "Text-to-Video",
246
+ "A dynamic time-lapse video showing the rapidly moving scenery "
247
+ "from the window of a speeding train. The camera captures various "
248
+ "elements such as lush green fields, towering trees, quaint "
249
+ "countryside houses, and distant mountain ranges passing by quickly. "
250
+ "Medium shot focusing on the train window and the rushing scenery beyond.",
251
  ],
252
  ],
253
  inputs=[mode, prompt],