This commit is contained in:
Qing
2022-07-14 16:49:03 +08:00
parent 0f70ab58a7
commit a94f7e4ffe
16 changed files with 487 additions and 45 deletions

View File

@@ -16,7 +16,8 @@ class LDMSampler(str, Enum):
class Config(BaseModel):
ldm_steps: int
ldm_sampler: str
ldm_sampler: str = LDMSampler.plms
zits_wireframe: bool = True
hd_strategy: str
hd_strategy_crop_margin: int
hd_strategy_crop_trigger_size: int