Spaces:
Running on Zero
Running on Zero
Upload app.py
Browse files
app.py
CHANGED
|
@@ -792,21 +792,6 @@ def generate(
|
|
| 792 |
|
| 793 |
# ── UI ──────────────────────────────────────────────────────────────────────
|
| 794 |
|
| 795 |
-
INTRO = """# MiniMax-H3 4-Step FlashGen LoRA
|
| 796 |
-
|
| 797 |
-
<div align="center">
|
| 798 |
-
<a href="https://huggingface.co/MiniMaxAI/MiniMax-H3" target="_blank" rel="noopener"><strong>[ base model ]</strong></a>
|
| 799 |
-
<a href="https://huggingface.co/Beidouqixing/minimax-h3-4step-lora-flashgen" target="_blank" rel="noopener"><strong>[ LoRA ]</strong></a>
|
| 800 |
-
</div>
|
| 801 |
-
|
| 802 |
-
**MiniMax-H3** is a 33B omni-modal model that generates video with native stereo audio.
|
| 803 |
-
This Space applies the **FlashGen 4-step distillation LoRA** by
|
| 804 |
-
[Beidouqixing](https://huggingface.co/Beidouqixing), plus the **Motion Enhancer** and
|
| 805 |
-
**HMCumshot** LoRAs. FlashGen keeps the model on its distilled **4-step** schedule.
|
| 806 |
-
|
| 807 |
-
Type a prompt (and optionally add a first frame, last frame, or both for FL2VA mode),
|
| 808 |
-
pick a canvas, and generate. The output includes a synchronized soundtrack."""
|
| 809 |
-
|
| 810 |
CSS = """
|
| 811 |
.main.fillable { max-width: 1100px !important; }
|
| 812 |
"""
|
|
@@ -820,8 +805,6 @@ EXAMPLE_PROMPTS = [
|
|
| 820 |
]
|
| 821 |
|
| 822 |
with gr.Blocks(title="MiniMax-H3 4-Step FlashGen") as demo:
|
| 823 |
-
gr.Markdown(INTRO)
|
| 824 |
-
|
| 825 |
with gr.Row(equal_height=True):
|
| 826 |
with gr.Column():
|
| 827 |
prompt = gr.Textbox(
|
|
|
|
| 792 |
|
| 793 |
# ── UI ──────────────────────────────────────────────────────────────────────
|
| 794 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 795 |
CSS = """
|
| 796 |
.main.fillable { max-width: 1100px !important; }
|
| 797 |
"""
|
|
|
|
| 805 |
]
|
| 806 |
|
| 807 |
with gr.Blocks(title="MiniMax-H3 4-Step FlashGen") as demo:
|
|
|
|
|
|
|
| 808 |
with gr.Row(equal_height=True):
|
| 809 |
with gr.Column():
|
| 810 |
prompt = gr.Textbox(
|