- app.py: add subprocess import; add _ensure_mcp_repo() to clone/pull danbooru-mcp from https://git.liveaodh.com/aodhan/danbooru-mcp into tools/danbooru-mcp/ at startup; add ensure_mcp_server_running() which calls _ensure_mcp_repo() then starts the Docker container if not running; add GET /api/status/comfyui and GET /api/status/mcp health endpoints; fix call_llm() to retry up to 3 times on unexpected response format (KeyError/IndexError), logging the raw response and prompting the LLM to respond with valid JSON before each retry - templates/layout.html: add ComfyUI and MCP status dot indicators to navbar; add polling JS that checks both endpoints on load and every 30s - static/style.css: add .service-status, .status-dot, .status-ok, .status-error, .status-checking styles and status-pulse keyframe animation - .gitignore: add tools/ to exclude the cloned danbooru-mcp repo
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"action_id": "sunbathingdwnsty_000008",
|
|
"action_name": "Sunbathingdwnsty 000008",
|
|
"action": {
|
|
"full_body": "lying on stomach, prone position, relaxed body, sunbathing",
|
|
"head": "lifted slightly, looking forward or resting sideways",
|
|
"eyes": "looking at viewer or closed",
|
|
"arms": "bent at elbows, forearms resting on ground",
|
|
"hands": "folded under chin or resting flat on surface",
|
|
"torso": "chest close to ground, slight back arch",
|
|
"pelvis": "hips flat on the surface",
|
|
"legs": "extended straight back, slightly parted",
|
|
"feet": "barefoot, toes pointing backwards or feet raised at ankles",
|
|
"additional": "lying on a beach towel, sandy texture, bright sunlight"
|
|
},
|
|
"participants": {
|
|
"solo_focus": "true",
|
|
"orientation": "MF"
|
|
},
|
|
"lora": {
|
|
"lora_name": "Illustrious/Poses/SunbathingDwnsty-000008.safetensors",
|
|
"lora_weight": 1.0,
|
|
"lora_triggers": "SunbathingDwnsty-000008",
|
|
"lora_weight_min": 1.0,
|
|
"lora_weight_max": 1.0
|
|
},
|
|
"tags": [
|
|
"sunbathing",
|
|
"lying_on_stomach",
|
|
"prone",
|
|
"beach",
|
|
"summer",
|
|
"relaxing"
|
|
]
|
|
}
|