INNER CODE UNIT · Python
elapsed
F-R-L/forge-film · forge/webui/app.py:213
elapsed = time.monotonic() - t_start
log_fn(f"Done in {elapsed:.1f}s — {final_path}")
progress(1.0, desc="Complete!")
timings = scheduler.timings
return plan, final_path, timings
def generate_film(
story: str,
num_scenes: int,
workers: int,
backend: str,
skip_vlm: bool,
progress=gr.Progress(track_tqdm=True),
):
"""Gradio-facing synchronous wrapper around the async pipeline."""
if not story.strip():