multimodalart HF Staff commited on
Commit
50e22ae
verified
1 Parent(s): 87f8144

Fast default for generation, full quality examples

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -40,7 +40,7 @@ CANVASES = {
40
  "768x1024 路 3:4 full": (1024, 768),
41
  "1536x672 路 21:9 full": (672, 1536),
42
  }
43
- DEFAULT_CANVAS = "1344x768 路 16:9 full"
44
  FPS, FRAMES_PER_CHUNK, LATENTS_PER_CHUNK = 24, 17, 5
45
  MAX_UI_DURATION = 14
46
 
@@ -379,11 +379,11 @@ with gr.Blocks(title="MiniMax-H3") as demo:
379
 
380
  gr.Examples(
381
  examples=[
382
- ["A red fox trotting through a snowy pine forest at dawn, snow crunching underfoot", None, None, DEFAULT_CANVAS],
383
  ["A busy night market, neon signs reflecting in puddles, sizzling street food", None, None, "768x1344 路 9:16 full"],
384
  ["A cellist playing a slow melody in an empty concert hall", None, None, "768x768 路 1:1 full"],
385
- ["The fox looks around, then trots deeper into the forest", "examples/first.png", None, DEFAULT_CANVAS],
386
- ["A slow seamless camera move from the first view to the last", "examples/first.png", "examples/last.png", DEFAULT_CANVAS],
387
  ],
388
  inputs=[prompt, image, last_image, canvas],
389
  outputs=[video, report],
 
40
  "768x1024 路 3:4 full": (1024, 768),
41
  "1536x672 路 21:9 full": (672, 1536),
42
  }
43
+ DEFAULT_CANVAS = "960x544 路 16:9 fast"
44
  FPS, FRAMES_PER_CHUNK, LATENTS_PER_CHUNK = 24, 17, 5
45
  MAX_UI_DURATION = 14
46
 
 
379
 
380
  gr.Examples(
381
  examples=[
382
+ ["A red fox trotting through a snowy pine forest at dawn, snow crunching underfoot", None, None, "1344x768 路 16:9 full"],
383
  ["A busy night market, neon signs reflecting in puddles, sizzling street food", None, None, "768x1344 路 9:16 full"],
384
  ["A cellist playing a slow melody in an empty concert hall", None, None, "768x768 路 1:1 full"],
385
+ ["The fox looks around, then trots deeper into the forest", "examples/first.png", None, "1344x768 路 16:9 full"],
386
+ ["A slow seamless camera move from the first view to the last", "examples/first.png", "examples/last.png", "1344x768 路 16:9 full"],
387
  ],
388
  inputs=[prompt, image, last_image, canvas],
389
  outputs=[video, report],