Scripts Folder
This folder contains developer-facing helper scripts.
Files
-
run_dev.pyStarts the FastAPI app locally. -
setup_huggingface.pyDownloads and prepares the expected local Hugging Face model snapshot layout. -
smoke_real_diffusers.pyRuns a real-model smoke test through the orchestration path and writes output artifacts. -
create_real_e2e_example.pyExecutes a real multi-round steering session on GPU and writes a standalone HTML walkthrough plus a trace bundle underoutput/examples/real_e2e_example_run/. The example is intended to demonstrate system value starting from a strong user text prompt and a clear objective. -
run_e2e_debug.ps1Launches the Playwright suite headed in Chrome for interactive debugging. -
bootstrap.ps1Creates a local virtual environment, installs dependencies, installs npm packages, and can optionally prepare the Hugging Face model snapshot. -
build_release_zip.ps1Builds an optional source release zip from tracked repository files intooutput/releases/. -
build_pages_site.pyConverts the repository Markdown set into a static HTML site undersite/, rewrites inter-document links for GitHub Pages, and copies published image assets used by the docs. -
generate_readme_banner.pyUses the Gemini image-generation API to create the repository banner asset used in the main README. -
generate_doc_illustrations.pyUses the Gemini image-generation API to create conceptual illustration assets for the student tutorial and published HTML docs.
Usage
These scripts are convenience entry points for setup, release packaging, smoke testing, local development, and browser debugging.