a170e3d222
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``` |
||
---|---|---|
.. | ||
api | ||
codeformer | ||
hypernetworks | ||
textual_inversion | ||
artists.py | ||
codeformer_model.py | ||
deepbooru.py | ||
devices.py | ||
errors.py | ||
esrgan_model_arch.py | ||
esrgan_model.py | ||
extensions.py | ||
extras.py | ||
face_restoration.py | ||
generation_parameters_copypaste.py | ||
gfpgan_model.py | ||
images.py | ||
img2img.py | ||
interrogate.py | ||
ldsr_model_arch.py | ||
ldsr_model.py | ||
localization.py | ||
lowvram.py | ||
masking.py | ||
memmon.py | ||
modelloader.py | ||
ngrok.py | ||
paths.py | ||
processing.py | ||
prompt_parser.py | ||
realesrgan_model.py | ||
safe.py | ||
safety.py | ||
script_callbacks.py | ||
scripts.py | ||
scunet_model_arch.py | ||
scunet_model.py | ||
sd_hijack_inpainting.py | ||
sd_hijack_optimizations.py | ||
sd_hijack.py | ||
sd_models.py | ||
sd_samplers.py | ||
sd_vae.py | ||
shared.py | ||
styles.py | ||
swinir_model_arch_v2.py | ||
swinir_model_arch.py | ||
swinir_model.py | ||
txt2img.py | ||
ui_extensions.py | ||
ui.py | ||
upscaler.py |