Skip to content

Commit

Permalink
fix comfyui bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zml-ai authored Jun 7, 2024
1 parent 454c7ba commit 38ef213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfyui-hydit/hydit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_args(default_args=None):
# HunYuan-DiT
parser_hunyuan.add_argument("--model", type=str, choices=list(HUNYUAN_DIT_CONFIG.keys()), default='DiT-g/2')
parser_hunyuan.add_argument("--norm", type=str, default="layer", help="Normalization layer type")
parser.add_argument("--load-key", type=str, choices=["ema", "module", "distill"], default="ema", help="Load model key for HunYuanDiT checkpoint.")
parser_hunyuan.add_argument("--load-key", type=str, choices=["ema", "module", "distill"], default="ema", help="Load model key for HunYuanDiT checkpoint.")
parser_hunyuan.add_argument('--size-cond', type=int, nargs='+', default=[1024, 1024],
help="Size condition used in sampling. 2 values are required for height and width. "
"If a single value is provided, the image will be treated to (value, value).")
Expand Down

0 comments on commit 38ef213

Please sign in to comment.