mirror of
https://github.com/HuangYuChuh/ComfyUI_Skills_OpenClaw.git
synced 2026-07-30 03:23:40 +00:00
16 lines
405 B
Python
16 lines
405 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
BASE_DIR = Path(__file__).resolve().parent.parent.parent
|
|
CONFIG_PATH = BASE_DIR / "config.json"
|
|
OUTPUTS_DIR = BASE_DIR / "outputs"
|
|
DEFAULT_COMFYUI_SERVER_URL = "http://127.0.0.1:8188"
|
|
|
|
|
|
def default_config() -> dict[str, str]:
|
|
return {
|
|
"comfyui_server_url": DEFAULT_COMFYUI_SERVER_URL,
|
|
"output_dir": str(OUTPUTS_DIR),
|
|
}
|