add custom path for hk-server

This commit is contained in:
Zelin Pu 2024-08-06 14:55:17 +08:00
parent b002535dbf
commit 3e43369399
2 changed files with 14 additions and 13 deletions

View File

@ -54,11 +54,11 @@ parser.add_argument("--max-upload-size", type=float,
parser.add_argument("--extra-model-paths-config", type=str, default=None, metavar="PATH", parser.add_argument("--extra-model-paths-config", type=str, default=None, metavar="PATH",
nargs='+', action='append', help="Load one or more extra_model_paths.yaml files.") nargs='+', action='append', help="Load one or more extra_model_paths.yaml files.")
parser.add_argument("--output-directory", type=str, parser.add_argument("--output-directory", type=str,
default=None, help="Set the ComfyUI output directory.") default="/home/cold/comfyui_data/output", help="Set the ComfyUI output directory.")
parser.add_argument("--temp-directory", type=str, default=None, parser.add_argument("--temp-directory", type=str, default=None,
help="Set the ComfyUI temp directory (default is in the ComfyUI directory).") help="Set the ComfyUI temp directory (default is in the ComfyUI directory).")
parser.add_argument("--input-directory", type=str, parser.add_argument("--input-directory", type=str,
default=None, help="Set the ComfyUI input directory.") default="/home/cold/comfyui_data/input" help="Set the ComfyUI input directory.")
parser.add_argument("--auto-launch", action="store_true", parser.add_argument("--auto-launch", action="store_true",
help="Automatically launch ComfyUI in the default browser.") help="Automatically launch ComfyUI in the default browser.")
parser.add_argument("--disable-auto-launch", action="store_true", parser.add_argument("--disable-auto-launch", action="store_true",

View File

@ -23,17 +23,18 @@ a111:
#config for comfyui #config for comfyui
#your base path should be either an existing comfy install or a central folder where you store all of your models, loras, etc. #your base path should be either an existing comfy install or a central folder where you store all of your models, loras, etc.
#comfyui: comfyui:
# base_path: path/to/comfyui/ base_path: /home/cold/comfyui_data/
# checkpoints: models/checkpoints/ checkpoints: models/checkpoints/
# clip: models/clip/ clip: models/clip/
# clip_vision: models/clip_vision/ clip_vision: models/clip_vision/
# configs: models/configs/ configs: models/configs/
# controlnet: models/controlnet/ controlnet: models/controlnet/
# embeddings: models/embeddings/ embeddings: models/embeddings/
# loras: models/loras/ loras: models/loras/
# upscale_models: models/upscale_models/ upscale_models: models/upscale_models/
# vae: models/vae/ custom_nodes: custom_nodes\
vae: models/vae/
#other_ui: #other_ui:
# base_path: path/to/ui # base_path: path/to/ui