Merge branch 'dev' into main

This commit is contained in:
Bingsu
2023-09-01 21:45:46 +09:00
5 changed files with 26 additions and 5 deletions

7
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"recommendations": [
"ms-python.black-formatter",
"kevinrose.vsc-python-indent",
"charliermarsh.ruff",
]
}

8
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"pyproject.toml": ".env, .gitignore, .pre-commit-config.yaml, Taskfile.yml",
"README.md": "LICENSE.md, CHANGELOG.md",
"install.py": "preload.py"
}
}

View File

@@ -1,5 +1,10 @@
# Changelog
## 2023-09-01
- v23.9.1
- webui 1.6.0에 추가된 인자를 사용해서 생긴 하위 호환 문제 수정
## 2023-08-31
- v23.9.0

View File

@@ -1 +1 @@
__version__ = "23.9.0"
__version__ = "23.9.1"

View File

@@ -426,10 +426,11 @@ def inpainting(w: Widgets, n: int, is_img2img: bool, webui_info: WebuiInfo):
elem_id=eid("ad_use_checkpoint"),
)
ckpts = [
"Use same checkpoint",
*webui_info.checkpoints_list(use_short=True),
]
ckpts = ["Use same checkpoint"]
try:
ckpts.extend(webui_info.checkpoints_list(use_short=True))
except TypeError:
ckpts.extend(webui_info.checkpoints_list())
w.ad_checkpoint = gr.Dropdown(
label="ADetailer checkpoint" + suffix(n),