Files changed (1) hide show
  1. app.py +34 -18
app.py CHANGED
@@ -152,11 +152,15 @@ with gr.Blocks(css=CSS, title="Helios Video Generation", theme=gr.themes.Soft())
152
  label="Prompt",
153
  lines=4,
154
  value=(
155
- "A dynamic time-lapse video showing the rapidly moving scenery "
156
- "from the window of a speeding train. The camera captures various "
157
- "elements such as lush green fields, towering trees, quaint "
158
- "countryside houses, and distant mountain ranges passing by quickly. "
159
- "Medium shot focusing on the train window and the rushing scenery beyond."
 
 
 
 
160
  )
161
  )
162
  with gr.Accordion("Advanced Settings", open=False):
@@ -164,7 +168,7 @@ with gr.Blocks(css=CSS, title="Helios Video Generation", theme=gr.themes.Soft())
164
  height = gr.Number(value=384, label="Height", precision=0, interactive=False)
165
  width = gr.Number(value=640, label="Width", precision=0, interactive=False)
166
  with gr.Row():
167
- num_frames = gr.Slider(33, 240, value=33, step=33, label="Num Frames")
168
  num_inference_steps = gr.Slider(1, 10, value=2, step=1, label="Steps per stage")
169
  with gr.Row():
170
  seed = gr.Number(value=42, label="Seed", precision=0)
@@ -187,24 +191,36 @@ with gr.Blocks(css=CSS, title="Helios Video Generation", theme=gr.themes.Soft())
187
  examples=[
188
  [
189
  "Text-to-Video",
190
- "A Viking warrior driving a modern city bus filled with passengers. "
191
- "The Viking has long blonde hair tied back, a beard, and is adorned with "
192
- "a fur-lined helmet and armor. Medium shot focusing on the Viking at the "
193
- "wheel, with occasional close-ups of his determined expression.",
 
 
 
 
 
194
  ],
195
  [
196
  "Text-to-Video",
197
- "A documentary-style nature photography shot from a camera truck moving "
198
- "to the left, capturing a crab quickly scurrying into its burrow. "
199
- "A close-up shot from a slightly elevated angle.",
 
 
 
 
 
200
  ],
201
  [
202
  "Text-to-Video",
203
- "A dynamic time-lapse video showing the rapidly moving scenery "
204
- "from the window of a speeding train. The camera captures various "
205
- "elements such as lush green fields, towering trees, quaint "
206
- "countryside houses, and distant mountain ranges passing by quickly. "
207
- "Medium shot focusing on the train window and the rushing scenery beyond.",
 
 
208
  ],
209
  ],
210
  inputs=[mode, prompt],
 
152
  label="Prompt",
153
  lines=4,
154
  value=(
155
+ "A vibrant tropical fish swimming gracefully among colorful coral reefs in "
156
+ "a clear, turquoise ocean. The fish has bright blue and yellow scales with a "
157
+ "small, distinctive orange spot on its side, its fins moving fluidly. The coral "
158
+ "reefs are alive with a variety of marine life, including small schools of "
159
+ "colorful fish and sea turtles gliding by. The water is crystal clear, allowing "
160
+ "for a view of the sandy ocean floor below. The reef itself is adorned with a mix "
161
+ "of hard and soft corals in shades of red, orange, and green. The photo captures "
162
+ "the fish from a slightly elevated angle, emphasizing its lively movements and the "
163
+ "vivid colors of its surroundings. A close-up shot with dynamic movement."
164
  )
165
  )
166
  with gr.Accordion("Advanced Settings", open=False):
 
168
  height = gr.Number(value=384, label="Height", precision=0, interactive=False)
169
  width = gr.Number(value=640, label="Width", precision=0, interactive=False)
170
  with gr.Row():
171
+ num_frames = gr.Slider(33, 231, value=231, step=33, label="Num Frames")
172
  num_inference_steps = gr.Slider(1, 10, value=2, step=1, label="Steps per stage")
173
  with gr.Row():
174
  seed = gr.Number(value=42, label="Seed", precision=0)
 
191
  examples=[
192
  [
193
  "Text-to-Video",
194
+ "A vibrant tropical fish swimming gracefully among colorful coral reefs in "
195
+ "a clear, turquoise ocean. The fish has bright blue and yellow scales with a "
196
+ "small, distinctive orange spot on its side, its fins moving fluidly. The coral "
197
+ "reefs are alive with a variety of marine life, including small schools of "
198
+ "colorful fish and sea turtles gliding by. The water is crystal clear, allowing "
199
+ "for a view of the sandy ocean floor below. The reef itself is adorned with a mix "
200
+ "of hard and soft corals in shades of red, orange, and green. The photo captures "
201
+ "the fish from a slightly elevated angle, emphasizing its lively movements and the "
202
+ "vivid colors of its surroundings. A close-up shot with dynamic movement.",
203
  ],
204
  [
205
  "Text-to-Video",
206
+ "An extreme close-up of an gray-haired man with a beard in his 60s, he is deep in "
207
+ "thought pondering the history of the universe as he sits at a cafe in Paris, his eyes "
208
+ "focus on people offscreen as they walk as he sits mostly motionless, he is dressed in "
209
+ "a wool coat suit coat with a button-down shirt , he wears a brown beret and glasses "
210
+ "and has a very professorial appearance, and the end he offers a subtle closed-mouth "
211
+ "smile as if he found the answer to the mystery of life, the lighting is very cinematic "
212
+ "with the golden light and the Parisian streets and city in the background, depth of "
213
+ "field, cinematic 35mm film.",
214
  ],
215
  [
216
  "Text-to-Video",
217
+ "A drone camera circles around a beautiful historic church built on a rocky outcropping "
218
+ "along the Amalfi Coast, the view showcases historic and magnificent architectural "
219
+ "details and tiered pathways and patios, waves are seen crashing against the rocks "
220
+ "below as the view overlooks the horizon of the coastal waters and hilly landscapes "
221
+ "of the Amalfi Coast Italy, several distant people are seen walking and enjoying vistas "
222
+ "on patios of the dramatic ocean views, the warm glow of the afternoon sun creates a "
223
+ "magical and romantic feeling to the scene, the view is stunning captured with beautiful photography.",
224
  ],
225
  ],
226
  inputs=[mode, prompt],