Spaces:
Running
on
Zero
Running
on
Zero
alex
commited on
Commit
Β·
16bdf01
1
Parent(s):
3e2a3fa
more examples
Browse files
app.py
CHANGED
|
@@ -484,6 +484,26 @@ with gr.Blocks(css=css, title="Wan 2.2 Animate --replace", theme=gr.themes.Ocean
|
|
| 484 |
input_video = gr.Video(label="Input Video", height=512)
|
| 485 |
max_duration_slider = gr.Slider(2, 8, 2, step=2, label="Max Duration")
|
| 486 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 487 |
|
| 488 |
with gr.Column(elem_id="step-column"):
|
| 489 |
gr.HTML("""
|
|
@@ -496,6 +516,23 @@ with gr.Blocks(css=css, title="Wan 2.2 Animate --replace", theme=gr.themes.Ocean
|
|
| 496 |
["Video β Ref Image", "Video β Ref Image"], value="Video β Ref Image", show_label=False
|
| 497 |
)
|
| 498 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 499 |
with gr.Column(elem_id="step-column"):
|
| 500 |
gr.HTML("""
|
| 501 |
<div>
|
|
|
|
| 484 |
input_video = gr.Video(label="Input Video", height=512)
|
| 485 |
max_duration_slider = gr.Slider(2, 8, 2, step=2, label="Max Duration")
|
| 486 |
|
| 487 |
+
gr.Examples(
|
| 488 |
+
examples=[
|
| 489 |
+
|
| 490 |
+
[
|
| 491 |
+
"./examples/truth.mp4",
|
| 492 |
+
],
|
| 493 |
+
|
| 494 |
+
[
|
| 495 |
+
"./examples/thunder.mp4",
|
| 496 |
+
],
|
| 497 |
+
|
| 498 |
+
[
|
| 499 |
+
"./examples/okay.mp4",
|
| 500 |
+
],
|
| 501 |
+
|
| 502 |
+
],
|
| 503 |
+
inputs=[input_video],
|
| 504 |
+
cache_examples=False,
|
| 505 |
+
)
|
| 506 |
+
|
| 507 |
|
| 508 |
with gr.Column(elem_id="step-column"):
|
| 509 |
gr.HTML("""
|
|
|
|
| 516 |
["Video β Ref Image", "Video β Ref Image"], value="Video β Ref Image", show_label=False
|
| 517 |
)
|
| 518 |
|
| 519 |
+
|
| 520 |
+
gr.Examples(
|
| 521 |
+
examples=[
|
| 522 |
+
|
| 523 |
+
[
|
| 524 |
+
"./examples/desi2.png",
|
| 525 |
+
],
|
| 526 |
+
|
| 527 |
+
[
|
| 528 |
+
"./examples/james.png",
|
| 529 |
+
],
|
| 530 |
+
|
| 531 |
+
],
|
| 532 |
+
inputs=[edited_frame],
|
| 533 |
+
cache_examples=False,
|
| 534 |
+
)
|
| 535 |
+
|
| 536 |
with gr.Column(elem_id="step-column"):
|
| 537 |
gr.HTML("""
|
| 538 |
<div>
|