Spaces:
Running on Zero
Running on Zero
Shorten intro and remove notes under output video
Browse files
app.py
CHANGED
|
@@ -686,25 +686,9 @@ INTRO = """# MiniMax-H3 Character Swap LoRA
|
|
| 686 |
<a href="https://huggingface.co/MiniMaxAI/MiniMax-H3" target="_blank" rel="noopener"><strong>[ base model ]</strong></a>
|
| 687 |
</div>
|
| 688 |
|
| 689 |
-
|
| 690 |
-
|
| 691 |
-
|
| 692 |
-
soundtrack come out of one denoising pass.
|
| 693 |
-
|
| 694 |
-
Refer to the two references the way the LoRA was trained to read them: the clip is **`<Video 1>`** and the
|
| 695 |
-
character is **`<Picture 1>`**.
|
| 696 |
-
"""
|
| 697 |
-
|
| 698 |
-
NOTES = """It is an experimental 1,000-update adapter and its own card is candid about the limits: motion timing,
|
| 699 |
-
facial expressions and hard cuts are unreliable, long windows drift in framing, and close-up expressions may not
|
| 700 |
-
match the source performance. Short continuous shots of about 3–5 seconds are the promising range.
|
| 701 |
-
|
| 702 |
-
Its training targets were **single still frames** with five-frame static scene clips, which is what the examples
|
| 703 |
-
below are — a still scene, handed over as the short clip `<Video 1>` wants. Real moving footage works the same way
|
| 704 |
-
and is what the 40 preservation clips in the dataset regularized, but it is the harder case.
|
| 705 |
-
|
| 706 |
-
Strength 1.0 is the author's recommendation; 0 is the base `ref2va` model, which is the comparison the adapter was
|
| 707 |
-
judged against.
|
| 708 |
"""
|
| 709 |
|
| 710 |
CSS = """
|
|
@@ -753,7 +737,6 @@ with gr.Blocks(title="MiniMax-H3 Character Swap LoRA") as demo:
|
|
| 753 |
|
| 754 |
with gr.Column():
|
| 755 |
result = gr.Video(label="Swapped clip + soundtrack")
|
| 756 |
-
gr.Markdown(NOTES)
|
| 757 |
|
| 758 |
scene.change(pick_canvas, scene, canvas, show_progress="hidden", api_name=False)
|
| 759 |
|
|
|
|
| 686 |
<a href="https://huggingface.co/MiniMaxAI/MiniMax-H3" target="_blank" rel="noopener"><strong>[ base model ]</strong></a>
|
| 687 |
</div>
|
| 688 |
|
| 689 |
+
Akatz Labs' experimental character-swap LoRA for MiniMax-H3 `ref2va` puts a reference character into a scene
|
| 690 |
+
clip while the background, camera and everyone else stay put. Refer to the clip as **`<Video 1>`** and the character
|
| 691 |
+
as **`<Picture 1>`**, and name who to replace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 692 |
"""
|
| 693 |
|
| 694 |
CSS = """
|
|
|
|
| 737 |
|
| 738 |
with gr.Column():
|
| 739 |
result = gr.Video(label="Swapped clip + soundtrack")
|
|
|
|
| 740 |
|
| 741 |
scene.change(pick_canvas, scene, canvas, show_progress="hidden", api_name=False)
|
| 742 |
|