Spaces:
Running on Zero
Running on Zero
optimize the logits
#1
by
BestWishYsh - opened
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
|
| 175 |
-
"
|
| 176 |
-
"
|
| 177 |
-
"
|
| 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.
|
| 185 |
-
width = gr.
|
| 186 |
with gr.Row():
|
| 187 |
-
num_frames = gr.Slider(
|
| 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
|
| 248 |
-
"
|
| 249 |
-
"
|
| 250 |
-
"
|
|
|
|
| 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],
|