Spaces:
Running on Zero
Running on Zero
default crossfade to 6: measured to hold the scene together
Browse files
app.py
CHANGED
|
@@ -411,10 +411,15 @@ with gr.Blocks(title="LiveWan") as demo:
|
|
| 411 |
label="Generate (seconds of video)")
|
| 412 |
steer_at = gr.Slider(1, 13, value=6, step=0.5,
|
| 413 |
label="Swap at (seconds in)")
|
| 414 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
label="Crossfade (blocks)",
|
| 416 |
-
info="
|
| 417 |
-
"
|
|
|
|
| 418 |
seed = gr.Number(value=0, precision=0, label="Seed")
|
| 419 |
run_btn = gr.Button("Stream", variant="primary", size="lg")
|
| 420 |
|
|
|
|
| 411 |
label="Generate (seconds of video)")
|
| 412 |
steer_at = gr.Slider(1, 13, value=6, step=0.5,
|
| 413 |
label="Swap at (seconds in)")
|
| 414 |
+
# The local UI defaults this to 0, which is right when a human is
|
| 415 |
+
# watching and can react. For a one-click demo it is the wrong
|
| 416 |
+
# default: at 0 a waterfall steered to an aurora has collapsed into
|
| 417 |
+
# blocking by 14 s, and at 8 the scene is still standing.
|
| 418 |
+
crossfade = gr.Slider(0, 12, value=6, step=1,
|
| 419 |
label="Crossfade (blocks)",
|
| 420 |
+
info="Blending the swap over a few blocks "
|
| 421 |
+
"holds the scene together. 0 swaps "
|
| 422 |
+
"instantly, which is harsher.")
|
| 423 |
seed = gr.Number(value=0, precision=0, label="Seed")
|
| 424 |
run_btn = gr.Button("Stream", variant="primary", size="lg")
|
| 425 |
|