- 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
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"scene_id": "m4dscienc3_il",
|
|
"scene_name": "M4Dscienc3 Il",
|
|
"description": "A freaky, funky laboratory full of strange inventions, bubbling chemicals, and ominous machines with a Saturday morning cartoon vibe.",
|
|
"scene": {
|
|
"background": "dungeon, stone_wall, brick_wall, indoors, scenery, dark",
|
|
"foreground": "flask, beaker, test_tube, glowing_liquid, green_liquid, purple_liquid, smoke, bubbles, electricity",
|
|
"furniture": [
|
|
"machine",
|
|
"table",
|
|
"desk",
|
|
"shelf",
|
|
"monitor",
|
|
"cable",
|
|
"wire"
|
|
],
|
|
"colors": [
|
|
"green",
|
|
"purple",
|
|
"black",
|
|
"grey"
|
|
],
|
|
"lighting": "dim_lighting, glowing, ominous",
|
|
"theme": "science_fiction, horror_(theme), cartoon"
|
|
},
|
|
"lora": {
|
|
"lora_name": "Illustrious/Backgrounds/M4DSCIENC3-IL.safetensors",
|
|
"lora_weight": 1.0,
|
|
"lora_triggers": "M4DSCIENC3, laboratory, dungeon",
|
|
"lora_weight_min": 1.0,
|
|
"lora_weight_max": 1.0
|
|
},
|
|
"tags": [
|
|
"laboratory",
|
|
"dungeon",
|
|
"science_fiction",
|
|
"horror_(theme)",
|
|
"machine",
|
|
"flask",
|
|
"beaker",
|
|
"test_tube",
|
|
"glowing_liquid",
|
|
"green_liquid",
|
|
"purple_liquid",
|
|
"smoke",
|
|
"cable",
|
|
"wire",
|
|
"monitor",
|
|
"electricity",
|
|
"dark",
|
|
"indoors",
|
|
"no_humans",
|
|
"scenery"
|
|
]
|
|
}
|