AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.73k stars 26.48k forks source link

[Bug]: #12087

Open MegairaTart opened 1 year ago

MegairaTart commented 1 year ago

Is there an existing issue for this?

What happened?

I can't generate images wiht extensions. Even if i am not using them.

Steps to reproduce the problem

After downloading extensions

What should have happened?

It had to generate an image

Version or Commit where the problem happens

version: v1.5.0 : https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/a3ddf464a2ed24c999f67ddfef7969f8291567be

What Python version are you running on ?

Python 3.11.x (above, no supported yet)

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (GTX 16 below)

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

set COMMANDLINE_ARGS= --medvram

List of extensions

posex sd-webui-depth-lib

Console logs

C:\Users\megai\stable-diffusion-webui>git pull
Already up to date.
venv "C:\Users\megai\stable-diffusion-webui\venv\Scripts\Python.exe"
==============================================================================================================
INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.11.4.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.

You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/

Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases

Use --skip-python-version-check to suppress this warning.
==============================================================================================================
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Version: v1.5.0
Commit hash: a3ddf464a2ed24c999f67ddfef7969f8291567be
Launching Web UI with arguments: --medvram
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [a1535d0a42] from C:\Users\megai\stable-diffusion-webui\models\Stable-diffusion\AnythingV5Ink_ink.safetensors
Creating model from config: C:\Users\megai\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 197.6s (launcher: 71.6s, import torch: 49.3s, import gradio: 17.0s, setup paths: 14.7s, import ldm: 0.3s, other imports: 22.3s, setup codeformer: 1.7s, list SD models: 0.4s, load scripts: 3.9s, load upscalers: 0.1s, reload hypernetworks: 0.2s, initialize extra networks: 1.1s, create ui: 12.5s, gradio launch: 2.3s).
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\fastapi\applications.py", line 273, in __call__
    await super().__call__(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
    raise e
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\fastapi\routing.py", line 237, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\fastapi\routing.py", line 165, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\gradio\routes.py", line 271, in api_info
    return gradio.blocks.get_api_info(config, serialize)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\megai\stable-diffusion-webui\venv\Lib\site-packages\gradio\blocks.py", line 504, in get_api_info
    serializer = serializing.COMPONENT_MAPPING[type]()
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'dataset'
Applying attention optimization: Doggettx... done.
Model loaded in 426.9s (load weights from disk: 13.3s, load config: 0.2s, create model: 4.3s, apply weights to model: 330.6s, apply half(): 61.9s, apply dtype to VAE: 0.4s, load VAE: 0.9s, move model to device: 0.2s, hijack: 4.3s, load textual inversion embeddings: 5.9s, calculate empty prompt: 4.8s).

Additional information

It's generateing an image only after i delete extensions from folder.

missionfloyd commented 1 year ago
INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.11.4.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.

You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/

Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases

Delete the venv folder, uninstall python, and install python 3.10.

https://www.python.org/downloads/release/python-31011/ or https://apps.microsoft.com/store/detail/python-310/9PJPW5LDXLZ5

MegairaTart commented 1 year ago
INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.11.4.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.

You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/

Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases

Delete the venv folder, uninstall python, and install python 3.10.

https://www.python.org/downloads/release/python-31011/ or https://apps.microsoft.com/store/detail/python-310/9PJPW5LDXLZ5

Even so it isn't working. C:\Users\megai\stable-diffusion-webui>git pull Already up to date. venv "C:\Users\megai\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: v1.5.1 Commit hash: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/68f336bd994bed5442ad95bad6b6ad5564a5409a

Launching Web UI with arguments: no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. 2023-07-30 11:06:35,181 - ControlNet - INFO - ControlNet v1.1.234 ControlNet preprocessor location: C:\Users\megai\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads 2023-07-30 11:06:35,839 - ControlNet - INFO - ControlNet v1.1.234 Loading weights [6e430eb514] from C:\Users\megai\stable-diffusion-webui\models\Stable-diffusion\anythingelseV4_v45.safetensors Creating model from config: C:\Users\megai\stable-diffusion-webui\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Running on local URL: http://127.0.0.1:7860/

To create a public link, set share=True in launch(). Startup time: 115.2s (launcher: 51.6s, import torch: 13.5s, import gradio: 1.7s, setup paths: 7.4s, import ldm: 0.1s, other imports: 8.5s, setup codeformer: 0.8s, list SD models: 0.4s, load scripts: 24.2s, reload hypernetworks: 0.1s, create ui: 5.9s, gradio launch: 0.7s). ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in call return await self.app(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\fastapi\applications.py", line 273, in call await super().call(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\applications.py", line 122, in call await self.middleware_stack(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call raise exc File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call await self.app(scope, receive, _send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 84, in call await self.app(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call await responder(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call await self.app(scope, receive, self.send_with_gzip) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call raise exc File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call await self.app(scope, receive, sender) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call raise e File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call await self.app(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 718, in call await route.handle(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 276, in handle await self.app(scope, receive, send) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 66, in app response = await func(request) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 237, in app raw_response = await run_endpoint_function( File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 165, in run_endpoint_function return await run_in_threadpool(dependant.call, *values) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool return await anyio.to_thread.run_sync(func, args) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run result = context.run(func, *args) File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 271, in api_info return gradio.blocks.get_api_info(config, serialize) # type: ignore File "C:\Users\megai\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 504, in get_api_info serializer = serializing.COMPONENT_MAPPINGtype KeyError: 'dataset' Applying attention optimization: Doggettx... done. Model loaded in 312.3s (load weights from disk: 3.0s, create model: 3.9s, apply weights to model: 201.2s, apply half(): 95.0s, load VAE: 0.3s, move model to device: 1.4s, hijack: 0.5s, load textual inversion embeddings: 3.3s, calculate empty prompt: 3.6s).

Nilok7 commented 1 year ago

I'm having the exact same error. I did a clean install after I couldn't get the issue to go away on an earlier build, and Automatic1111 worked again.

I began installing extensions, and the issue came back.

The issue is related to an extension that was broken with a recent build Currently attempting to isolate.

venv "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a

Installing SD-CN-Animation requirement: scikit-image

loading WD14-tagger reqs from S:\StableDiffusion-Automatic1111\stable-diffusion-webui\extensions\stable-diffusion-webui-wd14-tagger\requirements.txt
Checking WD14-tagger requirements.

Launching Web UI with arguments: --administrator --api --xformers --deepdanbooru --listen
Loading booru2prompt settings
[AddNet] Updating model hashes...
100%|████████████████████████████████████████████████████████████████████████████████| 463/463 [00:51<00:00,  9.03it/s]
[AddNet] Updating model hashes...
100%|█████████████████████████████████████████████████████████████████████████████| 463/463 [00:00<00:00, 25681.56it/s]
2023-08-03 23:20:40,698 - ControlNet - INFO - ControlNet v1.1.234
ControlNet preprocessor location: S:\StableDiffusion-Automatic1111\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-08-03 23:20:41,073 - ControlNet - INFO - ControlNet v1.1.234
== WD14 tagger gpu, uname_result(system='Windows', node='Nilok-PC', release='10', version='10.0.19044', machine='AMD64') ==
Loading weights [6ce0161689] from S:\StableDiffusion-Automatic1111\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: S:\StableDiffusion-Automatic1111\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 91.2s (launcher: 12.3s, import torch: 10.6s, import gradio: 0.9s, setup paths: 0.8s, other imports: 1.9s, setup codeformer: 0.2s, list SD models: 0.7s, load scripts: 57.1s, create ui: 1.6s, gradio launch: 4.8s, add APIs: 0.1s).
*** API error: GET: http://127.0.0.1:7860/info {'error': 'KeyError', 'detail': '', 'body': '', 'errors': "'dataset'"}
    Traceback (most recent call last):
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 98, in receive
        return self.receive_nowait()
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 93, in receive_nowait
        raise WouldBlock
    anyio.WouldBlock

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 78, in call_next
        message = await recv_stream.receive()
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 118, in receive
        raise EndOfStream
    anyio.EndOfStream

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\modules\api\api.py", line 152, in exception_handling        return await call_next(request)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
        raise app_exc
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 70, in coro
        await self.app(scope, receive_or_disconnect, send_no_error)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 108, in __call__
        response = await self.dispatch_func(request, call_next)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\modules\api\api.py", line 116, in log_and_time
        res: Response = await call_next(req)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
        raise app_exc
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 70, in coro
        await self.app(scope, receive_or_disconnect, send_no_error)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 84, in __call__
        await self.app(scope, receive, send)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
        await responder(scope, receive, send)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
        await self.app(scope, receive, self.send_with_gzip)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
        raise exc
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
        await self.app(scope, receive, sender)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
        raise e
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
        await self.app(scope, receive, send)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
        await route.handle(scope, receive, send)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 276, in handle
        await self.app(scope, receive, send)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 66, in app
        response = await func(request)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 237, in app
        raw_response = await run_endpoint_function(
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 165, in run_endpoint_function
        return await run_in_threadpool(dependant.call, **values)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
        return await anyio.to_thread.run_sync(func, *args)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
        return await get_asynclib().run_sync_in_worker_thread(
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
        return await future
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
        result = context.run(func, *args)
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 271, in api_info
        return gradio.blocks.get_api_info(config, serialize)  # type: ignore
      File "S:\StableDiffusion-Automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 504, in get_api_info
        serializer = serializing.COMPONENT_MAPPING[type]()
    KeyError: 'dataset'
Nilok7 commented 1 year ago

Update: I found the problem extension. Remove "booru2prompt" from your extensions folder and it should work. Once you're back in, make sure to uncheck "booru2prompt" in the extensions tab so you don't reinstall it by mistake.

Edit: Doing more tests, it looks like a lot of extensions were broken, you'll need to test one by one to see which is causing it.

Edit 2: "sd-webui-depth-lib" was also broken by an update in Automatic1111.