Upload app.py
Browse files791 unmodified lines7927937947957967977987998008018028038048058068078088098108118127 unmodified lines820821822823824825826827791 unmodified lines# ββ UI ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββINTRO = """# MiniMax-H3 4-Step FlashGen LoRA<div align="center"><a href="https://huggingface.co/MiniMaxAI/MiniMax-H3" target="_blank" rel="noopener"><strong>[ base model ]</strong></a> <a href="https://huggingface.co/Beidouqixing/minimax-h3-4step-lora-flashgen" target="_blank" rel="noopener"><strong>[ LoRA ]</strong></a></div>**MiniMax-H3** is a 33B omni-modal model that generates video with native stereo audio.This Space applies the **FlashGen 4-step distillation LoRA** by[Beidouqixing](https://huggingface.co/Beidouqixing), plus the **Motion Enhancer** and**HMCumshot** LoRAs. FlashGen keeps the model on its distilled **4-step** schedule.Type a prompt (and optionally add a first frame, last frame, or both for FL2VA mode),pick a canvas, and generate. The output includes a synchronized soundtrack."""CSS = """.main.fillable { max-width: 1100px !important; }"""7 unmodified lines]with gr.Blocks(title="MiniMax-H3 4-Step FlashGen") as demo:gr.Markdown(INTRO)with gr.Row(equal_height=True):with gr.Column():prompt = gr.Textbox(791 unmodified lines7927937947957967977 unmodified lines805806807808809810791 unmodified lines# ββ UI ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββCSS = """.main.fillable { max-width: 1100px !important; }"""7 unmodified lines]with gr.Blocks(title="MiniMax-H3 4-Step FlashGen") as demo:with gr.Row(equal_height=True):with gr.Column():prompt = gr.Textbox(
app.py-17