MCPcopy
hub / github.com/nikopueringer/CorridorKey / generate_alphas_cmd

Function generate_alphas_cmd

corridorkey_cli.py:308–313  ·  view source on GitHub ↗

Generate coarse alpha hints via GVM for clips missing them.

(ctx: typer.Context)

Source from the content-addressed store, hash-verified

306
307@app.command("generate-alphas")
308def generate_alphas_cmd(ctx: typer.Context) -> None:
309 """Generate coarse alpha hints via GVM for clips missing them."""
310 clips = scan_clips()
311 with console.status("[bold green]Loading GVM model..."):
312 generate_alphas(clips, device=ctx.obj["device"], on_clip_start=_on_clip_start_log_only)
313 console.print("[bold green]Alpha generation complete.")
314
315
316@app.command("run-inference")

Callers

nothing calls this directly

Calls 2

scan_clipsFunction · 0.90
generate_alphasFunction · 0.90

Tested by

no test coverage detected