Files
qwen-image/tour-comfy/config.json
mike 150ef6dab0 Summary
• Implemented global offline mode for all HuggingFace-dependent modules to eliminate unauthenticated request warnings and prevent external connection attempts during startup and runtime.

   Changes
   • Global Offline Configuration: Added HF_HUB_OFFLINE=1 and TRANSFORMERS_OFFLINE=1 to the environment variables at the top of edit_api.py, embeddings.py, watcher.py, and pose_llm/pose_llm_api.py.
   • Explicit Local Files Only: Updated all huggingface_hub.hf_hub_download calls in edit_api.py to include local_files_only=True, ensuring they never attempt to reach the Hub if models are already cached.
   • LLM Service Optimization: Updated AutoTokenizer and AutoModelForCausalLM calls in pose_llm/pose_llm_api.py to use local_files_only=True.
   • Consistency: Ensured that shared modules like embeddings.py which uses open_clip are also locked to offline mode to prevent background downloads.
2026-06-29 12:27:10 +02:00

36 lines
2.9 KiB
JSON

{
"api_url": "http://127.0.0.1:8500/edit",
"base_prompts": [
"masterpiece. high quality. hyper realistic. detailed, detailed skin",
"masterpiece. high quality. realistic. detailed. female nude. detailed teenage female nude. photo-realistic",
"masterpiece. high quality. realistic. detailed. female nude. photo-realistic",
"masterpiece. high quality. realistic. detailed. teenage female nude. photo-realistic",
"Masterpeice, high quality, detailed, detailed skin, Head-on detailed full-nude-body three-quarter female portrait, photo realistic, black void background, Keep all characteristics and facial expressions of reference image.",
"Masterpeice, high quality, detailed, detailed skin, Head-on detailed full-nude-body three-quarter teenage female portrait, photo realistic, black void background, Keep all characteristics and facial expressions of reference image.",
"Masterpiece, High quality, detailed, detailed skin, Head-on straight-on detailed full-nude-body female portrait, photo realistic, black void background, Keep all characteristics and facial expressions of reference image.",
"Masterpiece, High quality, detailed, detailed skin, Head-on straight-on detailed full-nude-body teenage female portrait, photo realistic, black void background, Keep all characteristics and facial expressions of reference image.",
"Masterpiece, high quality, detailed, detailed skin, defailed Head-on straight-on full-body female portrait, realistic, black void background, Keep all characteristics of reference image.",
"Masterpiece, high quality, detailed, detailed skin, defailed Head-on straight-on full-body teenage female portrait, realistic, black void background, Keep all characteristics of reference image.",
"Masterpiece, high quality, detailed, detailed skin, defailed full-nude-body, teenage female, realistic, photo, looking at viewer, Keep all characteristics of reference image.",
"Masterpiece, high quality, detailed, detailed skin, defailed full-nude-body, female, realistic, photo, looking at viewer, Keep all characteristics of reference image.",
"Masterpiece, high quality, detailed, detailed skin, defailed full-nude-body, teenage female, realistic, photo, detailed skin, professional lighting, black void background, Keep all characteristics of reference image."
],
"seed": -1,
"max_area": 655360,
"margin": 10,
"top_margin": 20,
"headroom": 0.05,
"poll_interval": 2,
"stage_dir": "/mnt/zim/tour-comfy/stage",
"output_dir": "/mnt/zim/tour-comfy/output",
"failed_dir": "/mnt/zim/tour-comfy/failed",
"processed_file": "./tour-comfy/processed.json",
"log_file": "./tour-comfy/watcher.log",
"wireframe_dir": "/mnt/zim/tour-comfy/wireframe",
"faceswap_model": "~/.insightface/models/inswapper_128.onnx",
"facefusion_dir": "~/facefusion",
"facefusion_venv": "~/facefusion-venv",
"sam2_checkpoint": "~/.sam/sam2.1_hiera_base_plus.pt",
"sam2_config": "configs/sam2.1/sam2.1_hiera_b+.yaml",
"bg_removal": "sam2"
}