feat: skip img2img args, size 128 when img2img skip

This commit is contained in:
Dowon
2023-12-24 16:40:16 +09:00
parent 98d075d739
commit 12cbd14c20
3 changed files with 37 additions and 13 deletions

View File

@@ -1 +1 @@
__version__ = "23.11.1"
__version__ = "23.12.0.dev0"

View File

@@ -1,6 +1,7 @@
from __future__ import annotations
from collections import UserList
from dataclasses import dataclass
from functools import cached_property, partial
from typing import Any, Literal, NamedTuple, Optional
@@ -21,6 +22,14 @@ cn_model_regex = r".*(inpaint|tile|scribble|lineart|openpose).*|^None$"
cn_module_regex = r".*(inpaint|tile|pidi|lineart|openpose).*|^None$"
@dataclass
class SkipImg2ImgOrig:
steps: int
sampler_name: str
width: int
height: int
class Arg(NamedTuple):
attr: str
name: str