计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
interactive-demos【效率与协作】Launch, preflight, and troubleshoot SUPIR interactive demo modes: standard Gradio UI, tiled/local-prompt restoration, and face restoration.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks for a browser UI, Gradio launch,
--use_image_slider, --log_history, tiled/local prompt mode, large-image
memory handling, face restoration, face crop/paste behavior, or demo port
troubleshooting.
For non-interactive folder processing, route to ../batch-restoration/SKILL.md. For low-level API questions, route to ../python-api-and-config/SKILL.md.
| Mode | Source workflow distilled | Best for | Special risks |
|---|---|---|---|
main | Standard stage1/LLaVA/stage2 Gradio UI | Manual prompt editing, quality/fidelity presets, feedback/history logging | Gradio optional dependency stack, port binding, large model load at startup |
tiled | Tiled/local-prompt UI variant | Large images, local prompt lists, memory-sensitive runs | Tile size choices, slower VAE hooks, prompt list batch-size restriction |
face | Face detection/crop/restore/paste-back variant | Portrait/face-focused restoration with optional background restore | facexlib model assets, no-face/multiple-face handling, crop size alignment |
python sub-skills/interactive-demos/scripts/supir_demo_preflight.py --mode main --port 6688
python sub-skills/interactive-demos/scripts/supir_demo_preflight.py --mode tiled --local-prompt --use-tile-vae
python sub-skills/interactive-demos/scripts/supir_demo_preflight.py --mode face --face-resolution 1024
--log_history is
enabled, because history writes to a relative history/ tree.--no_llava when captioning weights are unavailable; ask the user for a
prompt rather than silently loading remote LLaVA weights.127.0.0.1 unless the user approves binding
to a public interface.0.0.0.0 without explicit user approval.