ModelSurge / sd-webui-comfyui

An extension to integrate ComfyUI workflows into the Webui's pipeline
MIT License
504 stars 32 forks source link

ComfyUI tab shows only blank page #184

Open tholonia opened 10 months ago

tholonia commented 10 months ago

CopmfyUI runs fine in A1111 on http://0.0.0.0:7860/, so I can confirm it's working, but the ComfyUI tab just shows a blank, black page. The browser console only reports a 404 for openpose_editor.js, which I assume I unrelated. In any case, I can "Go to the ComfyUI tab, and follow the instructions:"

A1111 version: v1.6.0-127-g102b6617  •  python: 3.10.13  •  torch: 2.0.1+cu118  •  xformers: 0.0.20  •  gradio: 3.41.2

zcyc commented 10 months ago

Please modify preload.py line 3 to 8188. If you use it remotely, you need change the proxy setting in the sd-webui config.

ljleb commented 10 months ago

@tholonia I'm not sure I understand the situation. Does comfyui work or does it not work? I would appreciate if you could join your webui server command line logs. Let us know if using the comfyui server reverse proxy helps.

Please modify preload.py line 3 to 8188

I don't recommend changing the default port to 8188 as the extension has custom loading code that could mess up any default workflow you have on a normal comfyui install. Each address+port combination can store a unique default workflow in the browser localstorage. But if that does not bother you, instead of changing the config file, you can add --port 8188 to the additional cli args in the settings. The extension should recognize the new port and use it.

zcyc commented 10 months ago

@tholonia I'm not sure I understand the situation. Does comfyui work or does it not work? I would appreciate if you could join your webui server command line logs. Let us know if using the comfyui server reverse proxy helps.

Please modify preload.py line 3 to 8188

I don't recommend changing the default port to 8188 as the extension has custom loading code that could mess up any default workflow you have on a normal comfyui install. Each address+port combination can store a unique default workflow in the browser localstorage. But if that does not bother you, instead of changing the config file, you can add --port 8188 to the additional cli args in the settings. The extension should recognize the new port and use it.

Ok, i dont know why, i can only be used if the default port is modified, otherwise it will be blank.

ljleb commented 10 months ago

Ok, i dont know why, i can only be used if the default port is modified, otherwise it will be blank.

That's odd. Are you using a custom comfyui install path or it's the default one at extensions/sd-webui-comfyui/ComfyUI? I'd like to know what the console says when the port is 8189 (default with the extension) in your environment or any other information you think might be relevant.

zcyc commented 10 months ago

@ljleb I use default install path

web

When i set proxy to Always image When i set proxy to Default image

config of proxy

image

preload

def preload(parser):
    parser.add_argument("--comfyui-listen", type=str, default='127.0.0.1', nargs='?', const='0.0.0.0')
    parser.add_argument("--comfyui-port", type=int, default=8189)
    parser.add_argument("--comfyui-dont-upcast-attention", action='store_true', default=None)
    parser.add_argument("--comfyui-use-split-cross-attention", action='store_true', default=None)
    parser.add_argument("--comfyui-use-pytorch-cross-attention", action='store_true', default=None)
    parser.add_argument("--comfyui-disable-xformers", action='store_true', default=None)
    parser.add_argument("--comfyui-highvram", action='store_true', default=None)
    parser.add_argument("--comfyui-normalvram", action='store_true', default=None)
    parser.add_argument("--comfyui-lowvram", action='store_true', default=None)
    parser.add_argument("--comfyui-novram", action='store_true', default=None)
    parser.add_argument("--comfyui-cpu", action='store_true', default=None)
    parser.add_argument("--webui-comfyui-client-address", type=str, default=None)

other

I can visit it from 127.0.0.1:8081 image

log

When i set proxy to Always i get this log, when i set proxy to Default no log.

WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000199380F1C90>, 'Connection to bugreport.indexyz.me timed out. (connect timeout=None)')': /api/20/envelope/
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000199380F1D50>, 'Connection to bugreport.indexyz.me timed out. (connect timeout=None)')': /api/20/envelope
ljleb commented 10 months ago

Thanks a lot, this is useful. Would it be possible to include the full webui logs? the extension prints a lot of information, so if anything is missing we know it stopped working at a certain point.

Can you also check what the address the iframes is using f12 in the browser? Maybe they just have the wrong port...

zcyc commented 10 months ago

start log

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Installing requirements for Mov2mov
Installing requirements for imageio-ffmpeg
Launching Web UI with arguments: --theme dark --xformers --api --listen
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.11.1, num models: 9
2023-12-06 14:44:50,455 - ControlNet - INFO - ControlNet v1.1.419
ControlNet preprocessor location: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-controlnet\annotator\downloads
2023-12-06 14:44:50,532 - ControlNet - INFO - ControlNet v1.1.419
sd-webui-prompt-all-in-one background API service started successfully.
Loading weights [3d1b3c42ec] from C:\sd-webui-aki\sd-webui-aki-v4.5\models\Stable-diffusion\awpainting_v12.safetensors
Creating model from config: C:\sd-webui-aki\sd-webui-aki-v4.5\configs\v1-inference.yaml
*** Error calling: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py/ui
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py", line 39, in ui
        self.accordion.arrange_components()
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\lib_comfyui\webui\accordion.py", line 97, in arrange_components
        with self.accordion.render():
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 126, in render
        raise DuplicateBlockError(
    gradio.exceptions.DuplicateBlockError: A block with id: 4365 has already been rendered in the current Blocks.

---
Running on local URL:  http://0.0.0.0:7860
Applying attention optimization: xformers... done.
Model loaded in 2.4s (load weights from disk: 0.6s, create model: 0.3s, apply weights to model: 1.3s).

To create a public link, set `share=True` in `launch()`.
[sd-webui-comfyui] Started callback listeners for process webui
Startup time: 26.5s (prepare environment: 9.7s, import torch: 3.8s, import gradio: 1.4s, setup paths: 1.0s, initialize shared: 0.2s, other imports: 0.9s, setup codeformer: 0.1s, load scripts: 1.7s, create ui: 1.1s, gradio launch: 6.5s, app_started_callback: 0.1s).
[ComfyUI] [sd-webui-comfyui] Setting up IPC...
[ComfyUI] [sd-webui-comfyui] Using inter-process communication strategy: Shared memory
[ComfyUI] [sd-webui-comfyui] Started callback listeners for process comfyui
[ComfyUI] [sd-webui-comfyui] Patching ComfyUI...
[ComfyUI] Total VRAM 24564 MB, total RAM 130885 MB
WARNING:xformers:A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
[ComfyUI] xformers version: 0.0.22.post7+cu118
[ComfyUI] Set vram state to: NORMAL_VRAM
[ComfyUI] Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
[ComfyUI] VAE dtype: torch.bfloat16
[ComfyUI] Using xformers cross attention
[ComfyUI] [sd-webui-comfyui] Launching ComfyUI with arguments: --listen 127.0.0.1 --port 8189
[ComfyUI]
Import times for custom nodes:
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_save_image.py
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_io.py
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_proxy_nodes.py
[ComfyUI]
[ComfyUI] Starting server

[ComfyUI] To see the GUI go to: http://127.0.0.1:8188
zcyc commented 10 months ago

I start with Default of proxy, when i change to Always, click save button catch some error

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Installing requirements for Mov2mov
Installing requirements for imageio-ffmpeg
Launching Web UI with arguments: --theme dark --xformers --api --listen
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.11.1, num models: 9
2023-12-06 14:49:54,262 - ControlNet - INFO - ControlNet v1.1.419
ControlNet preprocessor location: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-controlnet\annotator\downloads
2023-12-06 14:49:54,328 - ControlNet - INFO - ControlNet v1.1.419
sd-webui-prompt-all-in-one background API service started successfully.
Loading weights [3d1b3c42ec] from C:\sd-webui-aki\sd-webui-aki-v4.5\models\Stable-diffusion\awpainting_v12.safetensors
Creating model from config: C:\sd-webui-aki\sd-webui-aki-v4.5\configs\v1-inference.yaml
*** Error calling: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py/ui
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py", line 39, in ui
        self.accordion.arrange_components()
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\lib_comfyui\webui\accordion.py", line 97, in arrange_components
        with self.accordion.render():
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 126, in render
        raise DuplicateBlockError(
    gradio.exceptions.DuplicateBlockError: A block with id: 4365 has already been rendered in the current Blocks.

---
Running on local URL:  http://0.0.0.0:7860
Applying attention optimization: xformers... done.
Model loaded in 2.1s (load weights from disk: 0.7s, create model: 0.3s, apply weights to model: 0.9s).

To create a public link, set `share=True` in `launch()`.
[sd-webui-comfyui] Started callback listeners for process webui
Startup time: 21.2s (prepare environment: 7.8s, import torch: 2.4s, import gradio: 0.7s, setup paths: 0.5s, initialize shared: 0.2s, other imports: 0.4s, load scripts: 1.5s, create ui: 1.0s, gradio launch: 6.5s).
[ComfyUI] [sd-webui-comfyui] Setting up IPC...
[ComfyUI] [sd-webui-comfyui] Using inter-process communication strategy: Shared memory
[ComfyUI] [sd-webui-comfyui] Started callback listeners for process comfyui
[ComfyUI] [sd-webui-comfyui] Patching ComfyUI...
[ComfyUI] Total VRAM 24564 MB, total RAM 130885 MB
WARNING:xformers:A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
[ComfyUI] xformers version: 0.0.22.post7+cu118
[ComfyUI] Set vram state to: NORMAL_VRAM
[ComfyUI] Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
[ComfyUI] VAE dtype: torch.bfloat16
[ComfyUI] Using xformers cross attention
[ComfyUI] [sd-webui-comfyui] Launching ComfyUI with arguments: --listen 127.0.0.1 --port 8189
[ComfyUI]
Import times for custom nodes:
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_io.py
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_save_image.py
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_proxy_nodes.py
[ComfyUI]
[ComfyUI] Starting server

[ComfyUI] To see the GUI go to: http://127.0.0.1:8188
Traceback (most recent call last):
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks.py", line 392, in pages_html
    return refresh()
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks.py", line 400, in refresh
    ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks.py", line 400, in <listcomp>
    ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks.py", line 162, in create_html
    self.items = {x["name"]: x for x in self.list_items()}
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks.py", line 162, in <dictcomp>
    self.items = {x["name"]: x for x in self.list_items()}
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks_checkpoints.py", line 35, in list_items
    yield self.create_item(name, index)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extra_networks_checkpoints.py", line 18, in create_item
    path, ext = os.path.splitext(checkpoint.filename)
AttributeError: 'NoneType' object has no attribute 'filename'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\uvicorn\protocols\websockets\websockets_impl.py", line 254, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\fastapi\applications.py", line 273, in __call__
    await super().__call__(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 364, in _sentry_patched_asgi_app
  File "<enhanced_experience vendors.sentry_sdk.integrations.asgi>", line 146, in _run_asgi3
  File "<enhanced_experience vendors.sentry_sdk.integrations.asgi>", line 241, in _run_app
  File "<enhanced_experience vendors.sentry_sdk.integrations.asgi>", line 234, in _run_app
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\errors.py", line 149, in __call__
    await self.app(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\base.py", line 26, in __call__
    await self.app(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\base.py", line 26, in __call__
    await self.app(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\cors.py", line 76, in __call__
    await self.app(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\gzip.py", line 26, in __call__
    await self.app(scope, receive, send)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 256, in _sentry_exceptionmiddleware_call
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
    raise e
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\routing.py", line 341, in handle
    await self.app(scope, receive, send)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\routing.py", line 82, in app
    await func(session)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\fastapi\routing.py", line 289, in app
    await dependant.call(**values)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\routes.py", line 604, in join_queue
    session_info = await asyncio.wait_for(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\asyncio\tasks.py", line 445, in wait_for
    return fut.result()
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1001
Restarting UI...
Closing server running on port: 7860
[sd-webui-comfyui] Attempting to gracefully terminate the ComfyUI server...
[sd-webui-comfyui] The ComfyUI server was gracefully terminated
[sd-webui-comfyui] Stopped callback listeners for process webui
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.11.1, num models: 9
2023-12-06 14:51:18,585 - ControlNet - INFO - ControlNet v1.1.419
*** Error loading script: module_ui_extensions.py
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-mov2mov\scripts\module_ui_extensions.py", line 44, in <module>
        original_IOComponent_init = patches.patch(
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-mov2mov\scripts\m2m_hook.py", line 21, in patch
        raise RuntimeError(f"patch for {field} is already applied")
    RuntimeError: patch for __init__ is already applied
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

---
sd-webui-prompt-all-in-one background API service started successfully.
*** Error calling: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\adetailer\scripts\!adetailer.py/ui
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\adetailer\scripts\!adetailer.py", line 160, in ui
        components, infotext_fields = adui(num_models, is_img2img, webui_info)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\adetailer\adetailer\ui.py", line 125, in adui
        state, infofields = one_ui_group(
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\adetailer\adetailer\ui.py", line 206, in one_ui_group
        target_button.click(
    AttributeError: 'NoneType' object has no attribute 'click'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

---
*** Error calling: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-segment-anything\scripts\sam.py/ui
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-segment-anything\scripts\sam.py", line 674, in ui
        cnet_seg_submit.click(
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\events.py", line 140, in __call__
        dep, dep_index = self.trigger.set_event_trigger(
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 286, in set_event_trigger
        "inputs": [block._id for block in inputs],
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 286, in <listcomp>
        "inputs": [block._id for block in inputs],
    AttributeError: 'NoneType' object has no attribute '_id'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

---
*** Error calling: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py/ui
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py", line 39, in ui
        self.accordion.arrange_components()
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\lib_comfyui\webui\accordion.py", line 97, in arrange_components
        with self.accordion.render():
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 126, in render
        raise DuplicateBlockError(
    gradio.exceptions.DuplicateBlockError: A block with id: 9753 has already been rendered in the current Blocks.

---
*** Error calling: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-segment-anything\scripts\sam.py/ui
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-segment-anything\scripts\sam.py", line 674, in ui
        cnet_seg_submit.click(
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\events.py", line 140, in __call__
        dep, dep_index = self.trigger.set_event_trigger(
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 286, in set_event_trigger
        "inputs": [block._id for block in inputs],
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 286, in <listcomp>
        "inputs": [block._id for block in inputs],
    AttributeError: 'NoneType' object has no attribute '_id'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

---
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
[sd-webui-comfyui] Started callback listeners for process webui
[sd-webui-comfyui] Created a reverse proxy route to ComfyUI: /sd-webui-comfyui/comfyui
*** Error executing callback app_started_callback for C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-supermerger\scripts\GenParamGetter.py
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\script_callbacks.py", line 139, in app_started_callback
        c.callback(demo, app)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-supermerger\scripts\GenParamGetter.py", line 55, in get_params_components
        for _id, _is_txt2img in zip([GenParamGetter.txt2img_gen_button._id, GenParamGetter.img2img_gen_button._id], [True, False]):
    AttributeError: 'NoneType' object has no attribute '_id'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

---
Startup time: 8.3s (scripts unloaded callback: 0.6s, load scripts: 0.6s, create ui: 0.6s, gradio launch: 6.5s).
[ComfyUI] [sd-webui-comfyui] Setting up IPC...
[ComfyUI] [sd-webui-comfyui] Using inter-process communication strategy: Shared memory
[ComfyUI] [sd-webui-comfyui] Started callback listeners for process comfyui
[ComfyUI] [sd-webui-comfyui] Patching ComfyUI...
[ComfyUI] Total VRAM 24564 MB, total RAM 130885 MB
WARNING:xformers:A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
[ComfyUI] xformers version: 0.0.22.post7+cu118
[ComfyUI] Set vram state to: NORMAL_VRAM
[ComfyUI] Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
[ComfyUI] VAE dtype: torch.bfloat16
[ComfyUI] Using xformers cross attention
[ComfyUI] [sd-webui-comfyui] Launching ComfyUI with arguments: --listen 127.0.0.1 --port 8189
[ComfyUI]
Import times for custom nodes:
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_save_image.py
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_io.py
[ComfyUI]    0.0 seconds: C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_proxy_nodes.py
[ComfyUI]
[ComfyUI] Starting server

[ComfyUI] To see the GUI go to: http://127.0.0.1:8188
Traceback (most recent call last):
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 549, in select_script
    selected_script = self.selectable_scripts[script_index - 1] if script_index>0 else None
TypeError: '>' not supported between instances of 'NoneType' and 'int'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
Traceback (most recent call last):
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1434, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1297, in postprocess_data
    self.validate_outputs(fn_index, predictions)  # type: ignore
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1272, in validate_outputs
    raise ValueError(
ValueError: An event handler didn't receive enough output values (needed: 328, received: 2).
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
Wanted outputs:
    [checkbox, textbox, textbox, checkbox, checkbox, textbox, checkbox, checkbox, checkbox, textbox, slider, textbox, colorpicker, colorpicker, colorpicker, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, slider, checkbox, checkbox, number, number, number, checkbox, checkbox, checkbox, checkbox, textbox, checkbox, checkbox, textbox, textbox, textbox, textbox, textbox, textbox, textbox, textbox, textbox, checkbox, checkbox, checkbox, textbox, slider, slider, slider, checkboxgroup, dropdown, slider, checkbox, slider, slider, slider, slider, checkbox, radio, slider, checkbox, radio, checkbox, checkbox, slider, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, textbox, checkbox, checkbox, checkbox, checkbox, textbox, textbox, number, number, checkbox, checkbox, checkbox, number, dropdown, slider, checkbox, slider, dropdown, checkbox, checkbox, checkbox, slider, slider, checkbox, radio, checkbox, radio, number, number, number, number, html, slider, dropdown, checkbox, checkbox, radio, radio, slider, slider, slider, checkbox, checkbox, colorpicker, slider, colorpicker, colorpicker, colorpicker, checkbox, checkbox, dropdown, slider, slider, slider, slider, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, slider, slider, slider, number, checkboxgroup, slider, checkbox, checkbox, checkbox, textbox, checkbox, radio, slider, number, number, slider, checkbox, textbox, textbox, checkbox, checkbox, dropdown, dropdown, radio, checkbox, checkbox, checkboxgroup, number, dropdown, dropdown, checkbox, textbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, number, checkbox, checkbox, checkbox, slider, slider, textbox, checkbox, dropdown, dropdown, dropdown, dropdown, checkbox, checkbox, checkbox, dropdown, dropdown, number, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, radio, checkbox, checkbox, radio, checkbox, slider, radio, checkbox, radio, number, checkbox, checkboxgroup, slider, slider, radio, slider, slider, slider, slider, dropdown, number, number, number, number, checkbox, checkbox, radio, radio, slider, checkbox, dropdown, dropdown, slider, radio, radio, textbox, textbox, textbox, textbox, checkbox, checkbox, checkbox, checkboxgroup, dropdown, checkbox, checkbox, checkbox, checkbox, checkbox, textbox, dropdown, checkbox, number, checkbox, number, number, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, dropdown, checkbox, checkbox, checkbox, checkbox, checkbox, dropdown, dropdown, dropdown, checkbox, checkbox, dropdown, checkbox, checkbox, checkbox, dropdown, dropdown, dropdown, code, code, html, slider, textbox, checkbox, checkbox, checkbox, textbox, radio, checkbox, checkbox, button, textbox, textbox, textbox, dropdown, number, dropdown, textbox, textbox, textbox, slider, slider, slider, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, checkbox, textbox, textbox, checkbox, checkbox, checkbox]
Received outputs:
    [{'visible': True, '__type__': 'generic_update'}, "{"samples_save": true, "samples_format": "png", "samples_filename_pattern": "", "save_images_add_number": true, "grid_save": true, "grid_format": "png", "grid_extended_filename": false, "grid_only_if_multiple": true, "grid_prevent_empty_spots": false, "grid_zip_filename_pattern": "", "n_rows": -1, "font": "", "grid_text_active_color": "#000000", "grid_text_inactive_color": "#999999", "grid_background_color": "#ffffff", "enable_pnginfo": true, "save_txt": false, "save_images_before_face_restoration": false, "save_images_before_highres_fix": false, "save_images_before_color_correction": false, "save_mask": false, "save_mask_composite": false, "jpeg_quality": 80, "webp_lossless": false, "export_for_4chan": true, "img_downscale_threshold": 4.0, "target_side_length": 4000.0, "img_max_size_mp": 200.0, "use_original_name_batch": true, "use_upscaler_name_as_suffix": false, "save_selected_only": true, "save_init_img": false, "temp_dir": "", "clean_temp_dir_at_start": false, "save_incomplete_images": false, "outdir_samples": "", "outdir_txt2img_samples": "outputs/txt2img-images", "outdir_img2img_samples": "outputs/img2img-images", "outdir_extras_samples": "outputs/extras-images", "outdir_grids": "", "outdir_txt2img_grids": "outputs/txt2img-grids", "outdir_img2img_grids": "outputs/img2img-grids", "outdir_save": "log/images", "outdir_init_images": "outputs/init-images", "save_to_dirs": false, "grid_save_to_dirs": false, "use_save_to_dirs_for_ui": false, "directories_filename_pattern": "[date]", "directories_max_prompt_words": 8, "ESRGAN_tile": 192, "ESRGAN_tile_overlap": 8, "realesrgan_enabled_models": ["R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B"], "upscaler_for_img2img": null, "ldsr_steps": 100, "ldsr_cached": false, "SCUNET_tile": 256, "SCUNET_tile_overlap": 8, "SWIN_tile": 192, "SWIN_tile_overlap": 8, "face_restoration": false, "face_restoration_model": null, "code_former_weight": 0.5, "face_restoration_unload": false, "auto_launch_browser": "Local", "show_warnings": false, "show_gradio_deprecation_warnings": true, "memmon_poll_rate": 8, "samples_log_stdout": false, "multiple_tqdm": true, "print_hypernet_extra": false, "list_hidden_files": true, "disable_mmap_load_safetensors": false, "hide_ldm_prints": true, "api_enable_requests": true, "api_forbid_local_requests": true, "api_useragent": "", "unload_models_when_training": true, "pin_memory": false, "save_optimizer_state": false, "save_training_settings_to_txt": true, "dataset_filename_word_regex": "", "dataset_filename_join_string": " ", "training_image_repeats_per_epoch": 1, "training_write_csv_every": 500, "training_xattention_optimizations": false, "training_enable_tensorboard": false, "training_tensorboard_save_images": false, "training_tensorboard_flush_every": 120, "sd_model_checkpoint": "awpainting_v12.safetensors [3d1b3c42ec]", "sd_checkpoints_limit": 1, "sd_checkpoints_keep_in_cpu": true, "sd_checkpoint_cache": 0, "sd_unet": "Automatic", "enable_quantization": false, "enable_emphasis": true, "enable_batch_seeds": true, "comma_padding_backtrack": 20, "CLIP_stop_at_last_layers": 2, "upcast_attn": false, "randn_source": "GPU", "tiling": false, "hires_fix_refiner_pass": "second pass", "sdxl_crop_top": 0.0, "sdxl_crop_left": 0.0, "sdxl_refiner_low_aesthetic_score": 2.5, "sdxl_refiner_high_aesthetic_score": 6.0, "sd_vae_explanation": "<abbr title='Variational autoencoder'>VAE</abbr> is a neural network that transforms a standard <abbr title='red/green/blue'>RGB</abbr>\nimage into latent space representation and back. Latent space representation is what stable diffusion is working on during sampling\n(i.e. when the progress bar is between empty and full). For txt2img, VAE is used to create a resulting image after the sampling is finished.\nFor img2img, VAE is used to process user's input image before the sampling, and to create an image after sampling.", "sd_vae_checkpoint_cache": 0, "sd_vae": "Automatic", "sd_vae_overrides_per_model_preferences": true, "auto_vae_precision": true, "sd_vae_encode_method": "Full", "sd_vae_decode_method": "Full", "inpainting_mask_weight": 1.0, "initial_noise_multiplier": 1.0, "img2img_extra_noise": 0, "img2img_color_correction": false, "img2img_fix_steps": false, "img2img_background_color": "#ffffff", "img2img_editor_height": 720, "img2img_sketch_default_brush_color": "#ffffff", "img2img_inpaint_mask_brush_color": "#ffffff", "img2img_inpaint_sketch_default_brush_color": "#ffffff", "return_mask": false, "return_mask_composite": false, "cross_attention_optimization": "Automatic", "s_min_uncond": 0, "token_merging_ratio": 0, "token_merging_ratio_img2img": 0, "token_merging_ratio_hr": 0, "pad_cond_uncond": false, "persistent_cond_cache": true, "batch_cond_uncond": true, "use_old_emphasis_implementation": false, "use_old_karras_scheduler_sigmas": false, "no_dpmpp_sde_batch_determinism": false, "use_old_hires_fix_width_height": false, "dont_fix_second_order_samplers_schedule": false, "hires_fix_use_firstpass_conds": false, "use_old_scheduling": false, "lora_functional": false, "interrogate_keep_models_in_memory": false, "interrogate_return_ranks": false, "interrogate_clip_num_beams": 1, "interrogate_clip_min_length": 24, "interrogate_clip_max_length": 48, "interrogate_clip_dict_limit": 1500, "interrogate_clip_skip_categories": [], "interrogate_deepbooru_score_threshold": 0.7, "deepbooru_sort_alpha": false, "deepbooru_use_spaces": false, "deepbooru_escape": true, "deepbooru_filter_tags": "", "extra_networks_show_hidden_directories": true, "extra_networks_hidden_models": "When searched", "extra_networks_default_multiplier": 1.0, "extra_networks_card_width": 150.0, "extra_networks_card_height": 150.0, "extra_networks_card_text_scale": 0.7, "extra_networks_card_show_desc": true, "extra_networks_add_text_separator": " ", "ui_extra_networks_tab_reorder": "", "textual_inversion_print_at_load": false, "textual_inversion_add_hashes_to_infotext": true, "sd_hypernetwork": "None", "sd_lora": "None", "lora_preferred_name": "Filename", "lora_add_hashes_to_infotext": true, "lora_show_all": false, "lora_hide_unknown_for_versions": [], "lora_in_memory_limit": 0, "localization": "zh-Hans (Stable)", "gradio_theme": "Default", "gradio_themes_cache": true, "gallery_height": "", "return_grid": true, "do_not_show_images": false, "send_seed": true, "send_size": true, "js_modal_lightbox": true, "js_modal_lightbox_initially_zoomed": true, "js_modal_lightbox_gamepad": true, "js_modal_lightbox_gamepad_repeat": 250.0, "show_progress_in_title": true, "samplers_in_dropdown": false, "dimensions_and_batch_together": true, "keyedit_precision_attention": 0.1, "keyedit_precision_extra": 0.05, "keyedit_delimiters": ".,\\/!?%^*;:{}=`~()", "keyedit_move": true, "quicksettings_list": ["sd_model_checkpoint", "sd_vae", "CLIP_stop_at_last_layers"], "ui_tab_order": [], "hidden_tabs": [], "ui_reorder_list": ["inpaint", "sampler", "checkboxes", "hires_fix", "dimensions", "cfg", "seed", "batch", "override_settings", "scripts"], "hires_fix_show_sampler": false, "hires_fix_show_prompts": false, "disable_token_counters": false, "extra_options_txt2img": [], "extra_options_img2img": [], "extra_options_cols": 1, "extra_options_accordion": false, "add_model_hash_to_info": true, "add_model_name_to_info": true, "add_user_name_to_info": false, "add_version_to_infotext": true, "disable_weights_auto_swap": true, "infotext_styles": "Apply if any", "show_progressbar": true, "live_previews_enable": true, "live_previews_image_format": "png", "show_progress_grid": true, "show_progress_every_n_steps": 10, "show_progress_type": "Approx NN", "live_preview_allow_lowvram_full": false, "live_preview_content": "Prompt", "live_preview_refresh_period": 1000, "live_preview_fast_interrupt": false, "hide_samplers": [], "eta_ddim": 0.0, "eta_ancestral": 1.0, "ddim_discretize": "uniform", "s_churn": 0.0, "s_tmin": 0.0, "s_tmax": 0, "s_noise": 1.0, "k_sched_type": "Automatic", "sigma_min": 0.0, "sigma_max": 0.0, "rho": 0.0, "eta_noise_seed_delta": 31337, "always_discard_next_to_last_sigma": false, "sgm_noise_multiplier": false, "uni_pc_variant": "bh1", "uni_pc_skip_type": "time_uniform", "uni_pc_order": 3, "uni_pc_lower_order_final": true, "postprocessing_enable_in_main_ui": [], "postprocessing_operation_order": [], "upscaling_max_images_in_cache": 5, "disabled_extensions": [], "disable_all_extensions": "none", "restore_config_state_file": "", "sd_checkpoint_hash": "3d1b3c42ec704f3397d9e2968e3e544eda111741e10793afd78faa8148b36e12", "canvas_hotkey_zoom": "Alt", "canvas_hotkey_adjust": "Ctrl", "canvas_hotkey_move": "F", "canvas_hotkey_fullscreen": "S", "canvas_hotkey_reset": "R", "canvas_hotkey_overlap": "O", "canvas_show_tooltip": true, "canvas_auto_expand": true, "canvas_blur_prompt": false, "canvas_disabled_functions": ["Overlap"], "tac_tagFile": "danbooru.csv", "tac_active": true, "tac_activeIn.txt2img": true, "tac_activeIn.img2img": true, "tac_activeIn.negativePrompts": true, "tac_activeIn.thirdParty": true, "tac_activeIn.modelList": "", "tac_activeIn.modelListMode": "Blacklist", "tac_slidingPopup": true, "tac_maxResults": 15.0, "tac_showAllResults": false, "tac_resultStepLength": 100.0, "tac_delayTime": 100.0, "tac_useWildcards": true, "tac_sortWildcardResults": true, "tac_useEmbeddings": true, "tac_includeEmbeddingsInNormalResults": false, "tac_useHypernetworks": true, "tac_useLoras": true, "tac_useLycos": true, "tac_showWikiLinks": false, "tac_showExtraNetworkPreviews": true, "tac_modelSortOrder": "Name", "tac_replaceUnderscores": true, "tac_escapeParentheses": true, "tac_appendComma": true, "tac_appendSpace": true, "tac_alwaysSpaceAtEnd": true, "tac_modelKeywordCompletion": "Never", "tac_modelKeywordLocation": "Start of prompt", "tac_wildcardCompletionMode": "To next folder level", "tac_alias.searchByAlias": true, "tac_alias.onlyShowAlias": false, "tac_translation.translationFile": "danbooru.zh_CN_SFW.csv", "tac_translation.oldFormat": false, "tac_translation.searchByTranslation": true, "tac_translation.liveTranslation": false, "tac_extra.extraFile": "extra-quality-tags.csv", "tac_extra.addMode": "Insert before", "tac_chantFile": "demo-chants.json", "tac_keymap": "{\n    \"MoveUp\": \"ArrowUp\",\n    \"MoveDown\": \"ArrowDown\",\n    \"JumpUp\": \"PageUp\",\n    \"JumpDown\": \"PageDown\",\n    \"JumpToStart\": \"Home\",\n    \"JumpToEnd\": \"End\",\n    \"ChooseSelected\": \"Enter\",\n    \"ChooseFirstOrSelected\": \"Tab\",\n    \"Close\": \"Escape\"\n}", "tac_colormap": "{\n    \"danbooru\": {\n        \"-1\": [\"red\", \"maroon\"],\n        \"0\": [\"lightblue\", \"dodgerblue\"],\n        \"1\": [\"indianred\", \"firebrick\"],\n        \"3\": [\"violet\", \"darkorchid\"],\n        \"4\": [\"lightgreen\", \"darkgreen\"],\n        \"5\": [\"orange\", \"darkorange\"]\n    },\n    \"e621\": {\n        \"-1\": [\"red\", \"maroon\"],\n        \"0\": [\"lightblue\", \"dodgerblue\"],\n        \"1\": [\"gold\", \"goldenrod\"],\n        \"3\": [\"violet\", \"darkorchid\"],\n        \"4\": [\"lightgreen\", \"darkgreen\"],\n        \"5\": [\"tomato\", \"darksalmon\"],\n        \"6\": [\"red\", \"maroon\"],\n        \"7\": [\"whitesmoke\", \"black\"],\n        \"8\": [\"seagreen\", \"darkseagreen\"]\n    }\n}", "tac_refreshTempFiles": "Refresh TAC temp files", "ad_max_models": 2, "ad_extra_models_dir": "", "ad_save_previews": false, "ad_save_images_before": false, "ad_only_seleted_scripts": true, "ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcard_recursive,wildcards,lora_block_weight,negpip", "ad_bbox_sortby": "None", "ad_same_seed_for_each_tap": false, "comfyui_enabled": true, "comfyui_update_button": "Update comfyui (requires reload ui)", "comfyui_install_location": "C:\\sd-webui-aki\\sd-webui-aki-v4.5\\extensions\\sd-webui-comfyui\\ComfyUI", "comfyui_additional_args": "", "comfyui_client_address": "", "comfyui_ipc_strategy": "Default", "comfyui_graceful_termination_timeout": 5.0, "comfyui_reverse_proxy_enabled": "Always", "control_net_detectedmap_dir": "detected_maps", "control_net_models_path": "", "control_net_modules_path": "", "control_net_unit_count": 4, "control_net_model_cache_size": 1, "control_net_inpaint_blur_sigma": 7, "control_net_no_high_res_fix": false, "control_net_no_detectmap": false, "control_net_detectmap_autosaving": false, "control_net_allow_script_control": false, "control_net_sync_field_args": false, "controlnet_show_batch_images_in_ui": false, "controlnet_increment_seed_during_batch": false, "controlnet_disable_openpose_edit": false, "controlnet_ignore_noninpaint_mask": false, "mov2mov_outpath_samples": "outputs/mov2mov-images", "mov2mov_output_dir": "outputs/mov2mov-videos", "sam_use_local_groundingdino": true, "model_toolkit_fix_clip": false, "model_toolkit_autoprune": false, "_comments_before": {"samples_save": "", "samples_format": "", "samples_filename_pattern": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Images-Filename-Name-and-Subdirectory' target='_blank'>wiki</a>]", "save_images_add_number": "", "grid_save": "", "grid_format": "", "grid_extended_filename": "", "grid_only_if_multiple": "", "grid_prevent_empty_spots": "", "grid_zip_filename_pattern": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Images-Filename-Name-and-Subdirectory' target='_blank'>wiki</a>]", "n_rows": "", "font": "", "grid_text_active_color": "", "grid_text_inactive_color": "", "grid_background_color": "", "enable_pnginfo": "", "save_txt": "", "save_images_before_face_restoration": "", "save_images_before_highres_fix": "", "save_images_before_color_correction": "", "save_mask": "", "save_mask_composite": "", "jpeg_quality": "", "webp_lossless": "", "export_for_4chan": "", "img_downscale_threshold": "", "target_side_length": "", "img_max_size_mp": "", "use_original_name_batch": "", "use_upscaler_name_as_suffix": "", "save_selected_only": "", "save_init_img": "", "temp_dir": "", "clean_temp_dir_at_start": "", "save_incomplete_images": "", "outdir_samples": "", "outdir_txt2img_samples": "", "outdir_img2img_samples": "", "outdir_extras_samples": "", "outdir_grids": "", "outdir_txt2img_grids": "", "outdir_img2img_grids": "", "outdir_save": "", "outdir_init_images": "", "save_to_dirs": "", "grid_save_to_dirs": "", "use_save_to_dirs_for_ui": "", "directories_filename_pattern": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Images-Filename-Name-and-Subdirectory' target='_blank'>wiki</a>]", "directories_max_prompt_words": "", "ESRGAN_tile": "", "ESRGAN_tile_overlap": "", "realesrgan_enabled_models": "", "upscaler_for_img2img": "", "ldsr_steps": "", "ldsr_cached": "", "SCUNET_tile": "", "SCUNET_tile_overlap": "", "SWIN_tile": "", "SWIN_tile_overlap": "", "face_restoration": "", "face_restoration_model": "", "code_former_weight": "", "face_restoration_unload": "", "auto_launch_browser": "", "show_warnings": "", "show_gradio_deprecation_warnings": "", "memmon_poll_rate": "", "samples_log_stdout": "", "multiple_tqdm": "", "print_hypernet_extra": "", "list_hidden_files": "", "disable_mmap_load_safetensors": "", "hide_ldm_prints": "", "api_enable_requests": "", "api_forbid_local_requests": "", "api_useragent": "", "unload_models_when_training": "", "pin_memory": "", "save_optimizer_state": "", "save_training_settings_to_txt": "", "dataset_filename_word_regex": "", "dataset_filename_join_string": "", "training_image_repeats_per_epoch": "", "training_write_csv_every": "", "training_xattention_optimizations": "", "training_enable_tensorboard": "", "training_tensorboard_save_images": "", "training_tensorboard_flush_every": "", "sd_model_checkpoint": "", "sd_checkpoints_limit": "", "sd_checkpoints_keep_in_cpu": "", "sd_checkpoint_cache": "", "sd_unet": "", "enable_quantization": "", "enable_emphasis": "", "enable_batch_seeds": "", "comma_padding_backtrack": "", "CLIP_stop_at_last_layers": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#clip-skip' target='_blank'>wiki</a>]", "upcast_attn": "", "randn_source": "", "tiling": "", "hires_fix_refiner_pass": "", "sdxl_crop_top": "", "sdxl_crop_left": "", "sdxl_refiner_low_aesthetic_score": "", "sdxl_refiner_high_aesthetic_score": "", "sd_vae_explanation": "", "sd_vae_checkpoint_cache": "", "sd_vae": "", "sd_vae_overrides_per_model_preferences": "", "auto_vae_precision": "", "sd_vae_encode_method": "", "sd_vae_decode_method": "", "inpainting_mask_weight": "", "initial_noise_multiplier": "", "img2img_extra_noise": "", "img2img_color_correction": "", "img2img_fix_steps": "", "img2img_background_color": "", "img2img_editor_height": "", "img2img_sketch_default_brush_color": "", "img2img_inpaint_mask_brush_color": "", "img2img_inpaint_sketch_default_brush_color": "", "return_mask": "", "return_mask_composite": "", "cross_attention_optimization": "", "s_min_uncond": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/9177' target='_blank'>PR</a>]", "token_merging_ratio": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/9256' target='_blank'>PR</a>]", "token_merging_ratio_img2img": "", "token_merging_ratio_hr": "", "pad_cond_uncond": "", "persistent_cond_cache": "", "batch_cond_uncond": "", "use_old_emphasis_implementation": "", "use_old_karras_scheduler_sigmas": "", "no_dpmpp_sde_batch_determinism": "", "use_old_hires_fix_width_height": "", "dont_fix_second_order_samplers_schedule": "", "hires_fix_use_firstpass_conds": "", "use_old_scheduling": "", "lora_functional": "", "interrogate_keep_models_in_memory": "", "interrogate_return_ranks": "", "interrogate_clip_num_beams": "", "interrogate_clip_min_length": "", "interrogate_clip_max_length": "", "interrogate_clip_dict_limit": "", "interrogate_clip_skip_categories": "", "interrogate_deepbooru_score_threshold": "", "deepbooru_sort_alpha": "", "deepbooru_use_spaces": "", "deepbooru_escape": "", "deepbooru_filter_tags": "", "extra_networks_show_hidden_directories": "", "extra_networks_hidden_models": "", "extra_networks_default_multiplier": "", "extra_networks_card_width": "", "extra_networks_card_height": "", "extra_networks_card_text_scale": "", "extra_networks_card_show_desc": "", "extra_networks_add_text_separator": "", "ui_extra_networks_tab_reorder": "", "textual_inversion_print_at_load": "", "textual_inversion_add_hashes_to_infotext": "", "sd_hypernetwork": "", "sd_lora": "", "lora_preferred_name": "", "lora_add_hashes_to_infotext": "", "lora_show_all": "", "lora_hide_unknown_for_versions": "", "lora_in_memory_limit": "", "localization": "", "gradio_theme": "", "gradio_themes_cache": "", "gallery_height": "", "return_grid": "", "do_not_show_images": "", "send_seed": "", "send_size": "", "js_modal_lightbox": "", "js_modal_lightbox_initially_zoomed": "", "js_modal_lightbox_gamepad": "", "js_modal_lightbox_gamepad_repeat": "", "show_progress_in_title": "", "samplers_in_dropdown": "", "dimensions_and_batch_together": "", "keyedit_precision_attention": "", "keyedit_precision_extra": "", "keyedit_delimiters": "", "keyedit_move": "", "quicksettings_list": "[<a onclick='settingsHintsShowQuicksettings(); return false'>info</a>]", "ui_tab_order": "", "hidden_tabs": "", "ui_reorder_list": "", "hires_fix_show_sampler": "", "hires_fix_show_prompts": "", "disable_token_counters": "", "extra_options_txt2img": "[<a onclick='settingsHintsShowQuicksettings(); return false'>info</a>]", "extra_options_img2img": "[<a onclick='settingsHintsShowQuicksettings(); return false'>info</a>]", "extra_options_cols": "", "extra_options_accordion": "", "add_model_hash_to_info": "", "add_model_name_to_info": "", "add_user_name_to_info": "", "add_version_to_infotext": "", "disable_weights_auto_swap": "", "infotext_styles": "", "show_progressbar": "", "live_previews_enable": "", "live_previews_image_format": "", "show_progress_grid": "", "show_progress_every_n_steps": "", "show_progress_type": "", "live_preview_allow_lowvram_full": "", "live_preview_content": "", "live_preview_refresh_period": "", "live_preview_fast_interrupt": "", "hide_samplers": "", "eta_ddim": "", "eta_ancestral": "", "ddim_discretize": "", "s_churn": "", "s_tmin": "", "s_tmax": "", "s_noise": "", "k_sched_type": "", "sigma_min": "", "sigma_max": "", "rho": "", "eta_noise_seed_delta": "", "always_discard_next_to_last_sigma": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/6044' target='_blank'>PR</a>]", "sgm_noise_multiplier": "[<a href='https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12818' target='_blank'>PR</a>]", "uni_pc_variant": "", "uni_pc_skip_type": "", "uni_pc_order": "", "uni_pc_lower_order_final": "", "postprocessing_enable_in_main_ui": "", "postprocessing_operation_order": "", "upscaling_max_images_in_cache": "", "disabled_extensions": "", "disable_all_extensions": "", "restore_config_state_file": "", "sd_checkpoint_hash": "", "canvas_hotkey_zoom": "", "canvas_hotkey_adjust": "", "canvas_hotkey_move": "", "canvas_hotkey_fullscreen": "", "canvas_hotkey_reset": "", "canvas_hotkey_overlap": "", "canvas_show_tooltip": "", "canvas_auto_expand": "", "canvas_blur_prompt": "", "canvas_disabled_functions": "", "tac_tagFile": "", "tac_active": "", "tac_activeIn.txt2img": "", "tac_activeIn.img2img": "", "tac_activeIn.negativePrompts": "", "tac_activeIn.thirdParty": "", "tac_activeIn.modelList": "", "tac_activeIn.modelListMode": "", "tac_slidingPopup": "", "tac_maxResults": "", "tac_showAllResults": "", "tac_resultStepLength": "", "tac_delayTime": "", "tac_useWildcards": "", "tac_sortWildcardResults": "", "tac_useEmbeddings": "", "tac_includeEmbeddingsInNormalResults": "", "tac_useHypernetworks": "", "tac_useLoras": "", "tac_useLycos": "", "tac_showWikiLinks": "", "tac_showExtraNetworkPreviews": "", "tac_modelSortOrder": "", "tac_replaceUnderscores": "", "tac_escapeParentheses": "", "tac_appendComma": "", "tac_appendSpace": "", "tac_alwaysSpaceAtEnd": "", "tac_modelKeywordCompletion": "", "tac_modelKeywordLocation": "", "tac_wildcardCompletionMode": "", "tac_alias.searchByAlias": "", "tac_alias.onlyShowAlias": "", "tac_translation.translationFile": "", "tac_translation.oldFormat": "", "tac_translation.searchByTranslation": "", "tac_translation.liveTranslation": "", "tac_extra.extraFile": "", "tac_extra.addMode": "", "tac_chantFile": "", "tac_keymap": "", "tac_colormap": "", "tac_refreshTempFiles": "", "ad_max_models": "", "ad_extra_models_dir": "", "ad_save_previews": "", "ad_save_images_before": "", "ad_only_seleted_scripts": "", "ad_script_names": "", "ad_bbox_sortby": "", "ad_same_seed_for_each_tap": "", "comfyui_enabled": "", "comfyui_update_button": "", "comfyui_install_location": "", "comfyui_additional_args": "", "comfyui_client_address": "", "comfyui_ipc_strategy": "", "comfyui_graceful_termination_timeout": "", "comfyui_reverse_proxy_enabled": "", "control_net_detectedmap_dir": "", "control_net_models_path": "", "control_net_modules_path": "", "control_net_unit_count": "", "control_net_model_cache_size": "", "control_net_inpaint_blur_sigma": "", "control_net_no_high_res_fix": "", "control_net_no_detectmap": "", "control_net_detectmap_autosaving": "", "control_net_allow_script_control": "", "control_net_sync_field_args": "", "controlnet_show_batch_images_in_ui": "", "controlnet_increment_seed_during_batch": "", "controlnet_disable_openpose_edit": "", "controlnet_ignore_noninpaint_mask": "", "mov2mov_outpath_samples": "", "mov2mov_output_dir": "", "sam_use_local_groundingdino": "", "model_toolkit_fix_clip": "", "model_toolkit_autoprune": ""}, "_comments_after": {"samples_save": "", "samples_format": "", "samples_filename_pattern": "", "save_images_add_number": "", "grid_save": "", "grid_format": "", "grid_extended_filename": "", "grid_only_if_multiple": "", "grid_prevent_empty_spots": "", "grid_zip_filename_pattern": "", "n_rows": "", "font": "", "grid_text_active_color": "", "grid_text_inactive_color": "", "grid_background_color": "", "enable_pnginfo": "", "save_txt": "", "save_images_before_face_restoration": "", "save_images_before_highres_fix": "", "save_images_before_color_correction": "", "save_mask": "", "save_mask_composite": "", "jpeg_quality": "", "webp_lossless": "", "export_for_4chan": "<span class='info'>(if the file size is above the limit, or either width or height are above the limit)</span>", "img_downscale_threshold": "", "target_side_length": "", "img_max_size_mp": "<span class='info'>(in megapixels)</span>", "use_original_name_batch": "", "use_upscaler_name_as_suffix": "", "save_selected_only": "", "save_init_img": "", "temp_dir": "", "clean_temp_dir_at_start": "", "save_incomplete_images": "<span class='info'>(save images that has been interrupted in mid-generation; even if not saved, they will still show up in webui output.)</span>", "outdir_samples": "", "outdir_txt2img_samples": "", "outdir_img2img_samples": "", "outdir_extras_samples": "", "outdir_grids": "", "outdir_txt2img_grids": "", "outdir_img2img_grids": "", "outdir_save": "", "outdir_init_images": "", "save_to_dirs": "", "grid_save_to_dirs": "", "use_save_to_dirs_for_ui": "", "directories_filename_pattern": "", "directories_max_prompt_words": "", "ESRGAN_tile": "<span class='info'>(0 = no tiling)</span>", "ESRGAN_tile_overlap": "<span class='info'>(Low values = visible seam)</span>", "realesrgan_enabled_models": "", "upscaler_for_img2img": "", "ldsr_steps": "", "ldsr_cached": "", "SCUNET_tile": "<span class='info'>(0 = no tiling)</span>", "SCUNET_tile_overlap": "<span class='info'>(Low values = visible seam)</span>", "SWIN_tile": "", "SWIN_tile_overlap": "", "face_restoration": "<span class='info'>(will use a third-party model on generation result to reconstruct faces)</span>", "face_restoration_model": "", "code_former_weight": "<span class='info'>(0 = maximum effect; 1 = minimum effect)</span>", "face_restoration_unload": "", "auto_launch_browser": "", "show_warnings": " <span class='info'>(requires Reload UI)</span>", "show_gradio_deprecation_warnings": " <span class='info'>(requires Reload UI)</span>", "memmon_poll_rate": "<span class='info'>(0 = disable)</span>", "samples_log_stdout": "", "multiple_tqdm": "", "print_hypernet_extra": "", "list_hidden_files": "<span class='info'>(directory is hidden if its name starts with \".\")</span>", "disable_mmap_load_safetensors": "<span class='info'>(fixes very slow loading speed in some cases)</span>", "hide_ldm_prints": "", "api_enable_requests": "", "api_forbid_local_requests": "", "api_useragent": "", "unload_models_when_training": "", "pin_memory": "", "save_optimizer_state": "", "save_training_settings_to_txt": "", "dataset_filename_word_regex": "", "dataset_filename_join_string": "", "training_image_repeats_per_epoch": "", "training_write_csv_every": "", "training_xattention_optimizations": "", "training_enable_tensorboard": "", "training_tensorboard_save_images": "", "training_tensorboard_flush_every": "", "sd_model_checkpoint": "", "sd_checkpoints_limit": "", "sd_checkpoints_keep_in_cpu": "<span class='info'>(will keep models other than the currently used one in RAM rather than VRAM)</span>", "sd_checkpoint_cache": "<span class='info'>(obsolete; set to 0 and use the two settings above instead)</span>", "sd_unet": "<span class='info'>(choose Unet model: Automatic = use one with same filename as checkpoint; None = use Unet from checkpoint)</span>", "enable_quantization": " <span class='info'>(requires Reload UI)</span>", "enable_emphasis": "<span class='info'>(use (text) to make model pay more attention to text and [text] to make it pay less attention)</span>", "enable_batch_seeds": "", "comma_padding_backtrack": "<span class='info'>(in tokens - for texts shorter than specified, if they don't fit into 75 token limit, move them to the next 75 token chunk)</span>", "CLIP_stop_at_last_layers": "<span class='info'>(ignore last layers of CLIP network; 1 ignores none, 2 ignores one layer)</span>", "upcast_attn": "", "randn_source": "<span class='info'>(changes seeds drastically; use CPU to produce the same picture across different videocard vendors; use NV to produce same picture as on NVidia videocards)</span>", "tiling": "<span class='info'>(produce a tileable picture)</span>", "hires_fix_refiner_pass": "", "sdxl_crop_top": "", "sdxl_crop_left": "", "sdxl_refiner_low_aesthetic_score": "<span class='info'>(used for refiner model negative prompt)</span>", "sdxl_refiner_high_aesthetic_score": "<span class='info'>(used for refiner model prompt)</span>", "sd_vae_explanation": "", "sd_vae_checkpoint_cache": "", "sd_vae": "<span class='info'>(choose VAE model: Automatic = use one with same filename as checkpoint; None = use VAE from checkpoint)</span>", "sd_vae_overrides_per_model_preferences": "<span class='info'>(you can set per-model VAE either by editing user metadata for checkpoints, or by making the VAE have same name as checkpoint)</span>", "auto_vae_precision": "<span class='info'>(triggers when a tensor with NaNs is produced in VAE; disabling the option in this case will result in a black square image)</span>", "sd_vae_encode_method": "<span class='info'>(method to encode image to latent (use in img2img, hires-fix or inpaint mask))</span>", "sd_vae_decode_method": "<span class='info'>(method to decode latent to image)</span>", "inpainting_mask_weight": "", "initial_noise_multiplier": "", "img2img_extra_noise": "<span class='info'>(0 = disabled (default); should be lower than denoising strength)</span>", "img2img_color_correction": "", "img2img_fix_steps": "<span class='info'>(normally you'd do less with less denoising)</span>", "img2img_background_color": "", "img2img_editor_height": "<span class='info'>(in pixels)</span> <span class='info'>(requires Reload UI)</span>", "img2img_sketch_default_brush_color": "<span class='info'>(default brush color of img2img sketch)</span> <span class='info'>(requires Reload UI)</span>", "img2img_inpaint_mask_brush_color": "<span class='info'>(brush color of inpaint mask)</span> <span class='info'>(requires Reload UI)</span>", "img2img_inpaint_sketch_default_brush_color": "<span class='info'>(default brush color of img2img inpaint sketch)</span> <span class='info'>(requires Reload UI)</span>", "return_mask": "", "return_mask_composite": "", "cross_attention_optimization": "", "s_min_uncond": "<span class='info'>(skip negative prompt for some steps when the image is almost ready; 0=disable, higher=faster)</span>", "token_merging_ratio": "<span class='info'>(0=disable, higher=faster)</span>", "token_merging_ratio_img2img": "<span class='info'>(only applies if non-zero and overrides above)</span>", "token_merging_ratio_hr": "<span class='info'>(only applies if non-zero and overrides above)</span>", "pad_cond_uncond": "<span class='info'>(improves performance when prompt and negative prompt have different lengths; changes seeds)</span>", "persistent_cond_cache": "<span class='info'>(do not recalculate conds from prompts if prompts have not changed since previous calculation)</span>", "batch_cond_uncond": "<span class='info'>(do both conditional and unconditional denoising in one batch; uses a bit more VRAM during sampling, but improves speed; previously this was controlled by --always-batch-cond-uncond comandline argument)</span>", "use_old_emphasis_implementation": "", "use_old_karras_scheduler_sigmas": "", "no_dpmpp_sde_batch_determinism": "", "use_old_hires_fix_width_height": "", "dont_fix_second_order_samplers_schedule": "", "hires_fix_use_firstpass_conds": "", "use_old_scheduling": "<span class='info'>(For [red:green:N]; old: If N < 1, it's a fraction of steps (and hires fix uses range from 0 to 1), if N >= 1, it's an absolute number of steps; new: If N has a decimal point in it, it's a fraction of steps (and hires fix uses range from 1 to 2), othewrwise it's an absolute number of steps)</span>", "lora_functional": "", "interrogate_keep_models_in_memory": "", "interrogate_return_ranks": "<span class='info'>(booru only)</span>", "interrogate_clip_num_beams": "", "interrogate_clip_min_length": "", "interrogate_clip_max_length": "", "interrogate_clip_dict_limit": "<span class='info'>(0 = No limit)</span>", "interrogate_clip_skip_categories": "", "interrogate_deepbooru_score_threshold": "", "deepbooru_sort_alpha": "<span class='info'>(if not: sort by score)</span>", "deepbooru_use_spaces": "<span class='info'>(if not: use underscores)</span>", "deepbooru_escape": "<span class='info'>(so they are used as literal brackets and not for emphasis)</span>", "deepbooru_filter_tags": "<span class='info'>(separate by comma)</span>", "extra_networks_show_hidden_directories": "<span class='info'>(directory is hidden if its name starts with \".\".)</span>", "extra_networks_hidden_models": "<span class='info'>(\"When searched\" option will only show the item when the search string has 4 characters or more)</span>", "extra_networks_default_multiplier": "", "extra_networks_card_width": "<span class='info'>(in pixels)</span>", "extra_networks_card_height": "<span class='info'>(in pixels)</span>", "extra_networks_card_text_scale": "<span class='info'>(1 = original size)</span>", "extra_networks_card_show_desc": "", "extra_networks_add_text_separator": "<span class='info'>(extra text to add before <...> when adding extra network to prompt)</span>", "ui_extra_networks_tab_reorder": " <span class='info'>(requires Reload UI)</span>", "textual_inversion_print_at_load": "", "textual_inversion_add_hashes_to_infotext": "", "sd_hypernetwork": "", "sd_lora": "", "lora_preferred_name": "", "lora_add_hashes_to_infotext": "", "lora_show_all": "<span class='info'>(otherwise, those detected as for incompatible version of Stable Diffusion will be hidden)</span>", "lora_hide_unknown_for_versions": "", "lora_in_memory_limit": "", "localization": " <span class='info'>(requires Reload UI)</span>", "gradio_theme": "<span class='info'>(you can also manually enter any of themes from the <a href='https://huggingface.co/spaces/gradio/theme-gallery'>gallery</a>.)</span> <span class='info'>(requires Reload UI)</span>", "gradio_themes_cache": "<span class='info'>(disable to update the selected Gradio theme)</span>", "gallery_height": "<span class='info'>(an be any valid CSS value)</span> <span class='info'>(requires Reload UI)</span>", "return_grid": "", "do_not_show_images": "", "send_seed": "", "send_size": "", "js_modal_lightbox": "", "js_modal_lightbox_initially_zoomed": "", "js_modal_lightbox_gamepad": "", "js_modal_lightbox_gamepad_repeat": "", "show_progress_in_title": "", "samplers_in_dropdown": " <span class='info'>(requires Reload UI)</span>", "dimensions_and_batch_together": " <span class='info'>(requires Reload UI)</span>", "keyedit_precision_attention": "", "keyedit_precision_extra": "", "keyedit_delimiters": "", "keyedit_move": "", "quicksettings_list": "<span class='info'>(setting entries that appear at the top of page rather than in settings tab)</span> <span class='info'>(requires Reload UI)</span>", "ui_tab_order": " <span class='info'>(requires Reload UI)</span>", "hidden_tabs": " <span class='info'>(requires Reload UI)</span>", "ui_reorder_list": "<span class='info'>(selected items appear first)</span> <span class='info'>(requires Reload UI)</span>", "hires_fix_show_sampler": " <span class='info'>(requires Reload UI)</span>", "hires_fix_show_prompts": " <span class='info'>(requires Reload UI)</span>", "disable_token_counters": " <span class='info'>(requires Reload UI)</span>", "extra_options_txt2img": "<span class='info'>(setting entries that also appear in txt2img interfaces)</span> <span class='info'>(requires Reload UI)</span>", "extra_options_img2img": "<span class='info'>(setting entries that also appear in img2img interfaces)</span> <span class='info'>(requires Reload UI)</span>", "extra_options_cols": " <span class='info'>(requires Reload UI)</span>", "extra_options_accordion": " <span class='info'>(requires Reload UI)</span>", "add_model_hash_to_info": "", "add_model_name_to_info": "", "add_user_name_to_info": "", "add_version_to_infotext": "", "disable_weights_auto_swap": "<span class='info'>(when reading generation parameters from text into UI)</span>", "infotext_styles": "<span class='info'>(when reading generation parameters from text into UI))</span><ul style='margin-left: 1.5em'>\n<li>Ignore: keep prompt and styles dropdown as it is.</li>\n<li>Apply: remove style text from prompt, always replace styles dropdown value with found styles (even if none are found).</li>\n<li>Discard: remove style text from prompt, keep styles dropdown as it is.</li>\n<li>Apply if any: remove style text from prompt; if any styles are found in prompt, put them into styles dropdown, otherwise keep it as it is.</li>\n</ul>", "show_progressbar": "", "live_previews_enable": "", "live_previews_image_format": "", "show_progress_grid": "", "show_progress_every_n_steps": "<span class='info'>(in sampling steps - show new live preview image every N sampling steps; -1 = only show after completion of batch)</span>", "show_progress_type": "<span class='info'>(Full = slow but pretty; Approx NN and TAESD = fast but low quality; Approx cheap = super fast but terrible otherwise)</span>", "live_preview_allow_lowvram_full": "<span class='info'>(If not, Approx NN will be used instead; Full live preview method is very detrimental to speed if lowvram/medvram optimizations are enabled)</span>", "live_preview_content": "", "live_preview_refresh_period": "<span class='info'>(in milliseconds)</span>", "live_preview_fast_interrupt": "<span class='info'>(makes interrupts faster)</span>", "hide_samplers": " <span class='info'>(requires Reload UI)</span>", "eta_ddim": "<span class='info'>(noise multiplier; higher = more unpredictable results)</span>", "eta_ancestral": "<span class='info'>(noise multiplier; currently only applies to ancestral samplers (i.e. Euler a) and SDE samplers)</span>", "ddim_discretize": "", "s_churn": "<span class='info'>(amount of stochasticity; only applies to Euler, Heun, and DPM2)</span>", "s_tmin": "<span class='info'>(enable stochasticity; start value of the sigma range; only applies to Euler, Heun, and DPM2)</span>", "s_tmax": "<span class='info'>(0 = inf; end value of the sigma range; only applies to Euler, Heun, and DPM2)</span>", "s_noise": "<span class='info'>(amount of additional noise to counteract loss of detail during sampling)</span>", "k_sched_type": "<span class='info'>(lets you override the noise schedule for k-diffusion samplers; choosing Automatic disables the three parameters below)</span>", "sigma_min": "<span class='info'>(0 = default (~0.03); minimum noise strength for k-diffusion noise scheduler)</span>", "sigma_max": "<span class='info'>(0 = default (~14.6); maximum noise strength for k-diffusion noise scheduler)</span>", "rho": "<span class='info'>(0 = default (7 for karras, 1 for polyexponential); higher values result in a steeper noise schedule (decreases faster))</span>", "eta_noise_seed_delta": "<span class='info'>(ENSD; does not improve anything, just produces different results for ancestral samplers - only useful for reproducing images)</span>", "always_discard_next_to_last_sigma": "", "sgm_noise_multiplier": "<span class='info'>(Match initial noise to official SDXL implementation - only useful for reproducing images)</span>", "uni_pc_variant": "", "uni_pc_skip_type": "", "uni_pc_order": "<span class='info'>(must be < sampling steps)</span>", "uni_pc_lower_order_final": "", "postprocessing_enable_in_main_ui": "", "postprocessing_operation_order": "", "upscaling_max_images_in_cache": "", "disabled_extensions": "", "disable_all_extensions": "", "restore_config_state_file": "", "sd_checkpoint_hash": "", "canvas_hotkey_zoom": "<span class='info'>(If you choose 'Shift' you cannot scroll horizontally, 'Alt' can cause a little trouble in firefox)</span>", "canvas_hotkey_adjust": "<span class='info'>(If you choose 'Shift' you cannot scroll horizontally, 'Alt' can cause a little trouble in firefox)</span>", "canvas_hotkey_move": "<span class='info'>(To work correctly in firefox, turn off 'Automatically search the page text when typing' in the browser settings)</span>", "canvas_hotkey_fullscreen": "", "canvas_hotkey_reset": "", "canvas_hotkey_overlap": "<span class='info'>(Technical button, neededs for testing)</span>", "canvas_show_tooltip": "", "canvas_auto_expand": "", "canvas_blur_prompt": "", "canvas_disabled_functions": "", "tac_tagFile": "", "tac_active": "", "tac_activeIn.txt2img": " <span class='info'>(requires restart)</span>", "tac_activeIn.img2img": " <span class='info'>(requires restart)</span>", "tac_activeIn.negativePrompts": " <span class='info'>(requires restart)</span>", "tac_activeIn.thirdParty": "<span class='info'>(See <a href=\"https://github.com/DominikDoom/a1111-sd-webui-tagcomplete#-features\" target=\"_blank\">README</a> for supported extensions)</span> <span class='info'>(requires restart)</span>", "tac_activeIn.modelList": "<span class='info'>(Model names [with file extension] or their hashes, separated by commas)</span>", "tac_activeIn.modelListMode": "", "tac_slidingPopup": "", "tac_maxResults": "", "tac_showAllResults": "", "tac_resultStepLength": "", "tac_delayTime": " <span class='info'>(requires restart)</span>", "tac_useWildcards": "", "tac_sortWildcardResults": "<span class='info'>(If your wildcard files have a specific custom order, disable this to keep it)</span>", "tac_useEmbeddings": "", "tac_includeEmbeddingsInNormalResults": "<span class='info'>(The 'JumpTo...' keybinds (End & Home key by default) will select the first non-embedding result of their direction on the first press for quick navigation in longer lists.)</span>", "tac_useHypernetworks": "", "tac_useLoras": "", "tac_useLycos": "", "tac_showWikiLinks": "<span class='info'>(Warning: This is an external site and very likely contains NSFW examples!)</span>", "tac_showExtraNetworkPreviews": "", "tac_modelSortOrder": "<span class='info'>(Order for extra network models and wildcards in dropdown)</span>", "tac_replaceUnderscores": "", "tac_escapeParentheses": "", "tac_appendComma": "", "tac_appendSpace": "<span class='info'>(will append after comma if the above is enabled)</span>", "tac_alwaysSpaceAtEnd": "<span class='info'>(takes precedence over the regular space setting for that position)</span>", "tac_modelKeywordCompletion": "<span class='info'>(Will use & prefer the native activation keywords settable in the extra networks UI. Other functionality requires the <a href=\"https://github.com/mix1009/model-keyword\" target=\"_blank\">model-keyword</a> extension to be installed, but will work with it disabled.)</span> <span class='info'>(requires restart)</span>", "tac_modelKeywordLocation": "<span class='info'>(Only relevant if the above option is enabled)</span>", "tac_wildcardCompletionMode": "<span class='info'>(e.g. \"hair/colours/light/...\")</span>", "tac_alias.searchByAlias": "", "tac_alias.onlyShowAlias": "", "tac_translation.translationFile": "", "tac_translation.oldFormat": "", "tac_translation.searchByTranslation": "", "tac_translation.liveTranslation": "<span class='info'>(WIP, expect some bugs)</span>", "tac_extra.extraFile": "<span class='info'>(for small sets of custom tags)</span>", "tac_extra.addMode": "", "tac_chantFile": "<span class='info'>(Chants are longer prompt presets)</span>", "tac_keymap": "", "tac_colormap": "", "tac_refreshTempFiles": "", "ad_max_models": "", "ad_extra_models_dir": "", "ad_save_previews": "", "ad_save_images_before": "", "ad_only_seleted_scripts": "", "ad_script_names": "", "ad_bbox_sortby": "", "ad_same_seed_for_each_tap": "", "comfyui_enabled": "", "comfyui_update_button": "", "comfyui_install_location": "", "comfyui_additional_args": "", "comfyui_client_address": "", "comfyui_ipc_strategy": "", "comfyui_graceful_termination_timeout": "", "comfyui_reverse_proxy_enabled": "", "control_net_detectedmap_dir": "", "control_net_models_path": "", "control_net_modules_path": "", "control_net_unit_count": "", "control_net_model_cache_size": "", "control_net_inpaint_blur_sigma": "", "control_net_no_high_res_fix": "", "control_net_no_detectmap": "", "control_net_detectmap_autosaving": "", "control_net_allow_script_control": "", "control_net_sync_field_args": "", "controlnet_show_batch_images_in_ui": "", "controlnet_increment_seed_during_batch": "", "controlnet_disable_openpose_edit": "", "controlnet_ignore_noninpaint_mask": "", "mov2mov_outpath_samples": "", "mov2mov_output_dir": "", "sam_use_local_groundingdino": "", "model_toolkit_fix_clip": "", "model_toolkit_autoprune": ""}}"]
[-] ADetailer initialized. version: 23.11.1, num models: 9
Traceback (most recent call last):
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_settings.py", line 213, in reload_scripts
    scripts.reload_script_body_only()
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 754, in reload_script_body_only
    scripts_txt2img.reload_sources(cache)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\scripts.py", line 716, in reload_sources
    module = script_loading.load_module(script.filename)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\script_loading.py", line 10, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\scripts\comfyui.py", line 105, in <module>
    default_workflow_types.add_default_workflow_types()
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\lib_comfyui\default_workflow_types.py", line 47, in add_default_workflow_types
    external_code.add_workflow_type(workflow_type)
  File "C:\sd-webui-aki\sd-webui-aki-v4.5\extensions\sd-webui-comfyui\lib_comfyui\external_code\api.py", line 108, in add_workflow_type
    raise ValueError(f'The id {new_workflow_type.base_id} already exists')
ValueError: The id sandbox already exists
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
Restarting UI...
*** Error completing request
*** Arguments: ('Current', None, None) {}
    Traceback (most recent call last):
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extensions.py", line 419, in refresh_available_extensions_for_tags
        code, _ = refresh_available_extensions_from_data(hide_tags, sort_column, filter_text)
      File "C:\sd-webui-aki\sd-webui-aki-v4.5\modules\ui_extensions.py", line 470, in refresh_available_extensions_from_data
        sort_reverse, sort_function = sort_ordering[sort_column if 0 <= sort_column < len(sort_ordering) else 0]
    TypeError: '<=' not supported between instances of 'int' and 'NoneType'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

---
zcyc commented 10 months ago

console when proxy is Default

image

console when proxy is Always

image

zcyc commented 10 months ago

In start log, the error of gradio.exceptions.DuplicateBlockError: A block with id: 4365 has already been rendered in the current Blocks. is talking by issue #176

ljleb commented 10 months ago

Already from the logs I can see that

[ComfyUI] [sd-webui-comfyui] Launching ComfyUI with arguments: --listen 127.0.0.1 --port 8189

should start comfyui on port 8189, but then we see that comfyui still starts on port 8188:

[ComfyUI] To see the GUI go to: http://127.0.0.1:8188

So the problem can be many things still, even though we narrowed it down.

You said that you comfyui install was up to date, correct? I assume something else is going on, but make sure to verify this. I would be very surprised if this was not the case, as --port was one of the first options to be added to comfyui. Your install would be really old.

I will investigate tomorrow.

ljleb commented 10 months ago

Another notable discepancy is that even though the webui is started with --listen, and the reverse proxy option is set to default, the extension does not report starting the reverse proxy. Normally, with the presence of --listen, the extension starts the reverse proxy. Maybe this is caused by the error raised when creating the accordion.

Off the top of my head, one possible cause is that the extension is not up to date.

zcyc commented 10 months ago

My version id is a67bc18

ljleb commented 10 months ago

This is not the commit hash of HEAD on branch main, please run git pull origin main inside the extension directory if updating using the builtin webui extension manager does not work.

Your version of the extension will not work with the latest version of comfyui, the cli args module was fixed one commit later in fact.

zcyc commented 10 months ago

It is a really hash on main, but i will update my version to last commit, thank you. image

zcyc commented 10 months ago

Very thank you, everything worked fine after I updated to the latest version.

ljleb commented 10 months ago

@tholonia I'm not totally sure this was related to your issue. Please let us know if any part of this discussion helps with the problem you are encountering, or if we need to look somewhere else. In the latter case, please share with us any webui server logs with a problematic behaviour so that I can help resolve this.

ljleb commented 9 months ago

@OtakuFra which version of comfyui and the sd-webui-comfyui extension are you using? Please share the commit hash of the repositories you are using. In case you don't know, you can get this information by opening a terminal in the directory of the extension (under extensions\sd-webui-comfyui) and then typing

git rev-parse HEAD

Then, go to the directory where your ComfyUI is installed (either extensions\sd-webui-comfyui\ComfyUI or your custom location otherwise) and type the same command as above, git rev-parse HEAD. Please share the series of hexadecimal numbers it returns.

If you recognize that either the extension or comfyui is not up to date, please update them to the latest version and let us know if the problem (or part thereof) is resolved.

If you know that you are on the latest versions, well it's certainly odd that --port 8188 is passed to comfyui here. Normally, it should use port 8189 by default to prevent collisions with the default comfyui workflow. The extension uses custom javascript code in the browser that can risk messing with another normal comfyui installation. Are there custom comfyui cli args in the sd-webui-comfyui settings? Does it help if you set the reverse proxy setting to "Always"? Consider reverting to the current settings if a suggestion does not help.