By creating a file called "preload.py" in an extension folder and declaring a preload(parser) method, we can add extra command-line args for an extension.
Updated localization with the latest version of these Scripts/Extensions:
SD-Chad - Stable Diffusion Aesthetic Scorer (added)
AlphaCanvas
StylePile
Alternate Sampler Noise Schedules
SD Latent Mirroring (new)
SD Dynamic Prompts
Dataset Tag Editor
Depth Maps (new)
Improved prompt matrix (new)
New Extensions:
Auto-sd-paint-ext (new)
training-picker (new)
Unprompted
NovelAI-2-local-prompt (new)
tokenizer (new)
Hope there aren't too many mistakes or wrong translations, in case let me know.
Solves problems with
```Traceback (most recent call last):
File "webui.py", line 201, in <module>
webui()
File "webui.py", line 178, in webui
create_api(app)
File "webui.py", line 117, in create_api
from modules.api.api import Api
File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\api.py", line 9, in <module>
from modules.api.models import *
File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 194, in <module>
class SamplerItem(BaseModel):
File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 196, in SamplerItem
aliases: list[str] = Field(title="Aliases")
TypeError: 'type' object is not subscriptable```
and
```Traceback (most recent call last):
File "webui.py", line 201, in <module>
webui()
File "webui.py", line 178, in webui
create_api(app)
File "webui.py", line 117, in create_api
from modules.api.api import Api
File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\api.py", line 9, in <module>
from modules.api.models import *
File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 194, in <module>
class SamplerItem(BaseModel):
File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 197, in SamplerItem
options: dict[str, str] = Field(title="Options")
TypeError: 'type' object is not subscriptable```