INNER CODE UNIT · Python

log_fn

F-R-L/forge-film · forge/webui/app.py:235

    def log_fn(msg: str):
        logs.append(msg)

    output_dir = tempfile.mkdtemp(prefix="forge_webui_")

    plan, final_path, timings = asyncio.run(
        _run_pipeline(
            story=story,
            num_scenes=int(num_scenes),
            workers=int(workers),
            backend=backend,
            skip_vlm=skip_vlm,
            output_dir=output_dir,
            log_fn=log_fn,
            progress=progress,
        )
    )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…