Skip to content

Commit

Permalink
Fix the Parameter Generator unable to choose standard resolutions #82
Browse files Browse the repository at this point in the history
  • Loading branch information
receyuki committed Jul 15, 2024
1 parent b248fcf commit 278e324
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,11 @@ def INPUT_TYPES(s):
"lora_name": any_type,
"width": (
"INT",
{"default": 1, "min": 1, "max": MAX_RESOLUTION, "step": 8},
{"default": 1, "min": 1, "max": MAX_RESOLUTION, "step": 1},
),
"height": (
"INT",
{"default": 1, "min": 1, "max": MAX_RESOLUTION, "step": 8},
{"default": 1, "min": 1, "max": MAX_RESOLUTION, "step": 1},
),
"positive": ("STRING", {"default": "", "multiline": True}),
"negative": ("STRING", {"default": "", "multiline": True}),
Expand Down Expand Up @@ -788,11 +788,11 @@ def INPUT_TYPES(s):
),
"width": (
"INT",
{"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 8},
{"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8},
),
"height": (
"INT",
{"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 8},
{"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8},
),
"batch_size": (
"INT",
Expand Down

0 comments on commit 278e324

Please sign in to comment.