Add danbooru-mcp auto-start, git sync, status API endpoints, navbar status indicators, and LLM format retry
- 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
This commit is contained in:
23
data/looks/yuffie_illus_fp.json
Normal file
23
data/looks/yuffie_illus_fp.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"look_id": "yuffie_illus_fp",
|
||||
"look_name": "Yuffie Illus Fp",
|
||||
"character_id": "yuffie_kisaragi",
|
||||
"positive": "yuffie_kisaragi, short_hair, black_hair, brown_eyes, forehead_protector, sleeveless_turtleneck, green_sweater, midriff, crop_top, single_pauldron, chest_strap, single_arm_guard, orange_gloves, fingerless_gloves, white_shorts, fishnets",
|
||||
"negative": "long_hair, skirt, dress, low_quality, worst_quality, blurry, watermark",
|
||||
"lora": {
|
||||
"lora_name": "Illustrious/Looks/Yuffie-illus_Fp.safetensors",
|
||||
"lora_weight": 1.0,
|
||||
"lora_triggers": "yuff7",
|
||||
"lora_weight_min": 1.0,
|
||||
"lora_weight_max": 1.0
|
||||
},
|
||||
"tags": [
|
||||
"anime",
|
||||
"final_fantasy_vii",
|
||||
"female",
|
||||
"ninja",
|
||||
"shuriken",
|
||||
"huge_weapon",
|
||||
"holding_weapon"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user