Spaces:
Running on Zero
Running on Zero
test
#2
by
BestWishYsh - opened
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
|
| 156 |
-
"
|
| 157 |
-
"
|
| 158 |
-
"
|
| 159 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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,
|
| 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
|
| 191 |
-
"
|
| 192 |
-
"
|
| 193 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
],
|
| 195 |
[
|
| 196 |
"Text-to-Video",
|
| 197 |
-
"
|
| 198 |
-
"
|
| 199 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
],
|
| 201 |
[
|
| 202 |
"Text-to-Video",
|
| 203 |
-
"A
|
| 204 |
-
"
|
| 205 |
-
"
|
| 206 |
-
"
|
| 207 |
-
"
|
|
|
|
|
|
|
| 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],
|