Repository: stable-diffusion-webui
Issue: [Bug]: WebSocketDisconnect img2img
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I ran into a problem today after the upgrade. Through the web interface img2img stopped working.
I created a new directory and re-downloaded the repository and ran it, but the problem persists.
What's interesting is that everything works fine through the discord aiyabot bot. The error is only through the web interface.

### Steps to reproduce the problem

1. Start webui-user.bat
2. Go to img2img and press generate
3. ...
4. Profit

### What should have happened?

```
Arguments: ('task(7ypj03v4sots3fp)', 0, 'dadadad', '', [], None, None, None, None, None, None, None, 20, 0, 4, 0, 1, False, False, 1, 1, 7, 1.5, 0.75, -1.0, -1.0, 0, 0, 0, False, 512, 512, 0, 0, 32, 0, '', '', '', [], 0, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '<p style="margin-bottom:0.75em">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<p style="margin-bottom:0.75em">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', 0, '', 0, '', True, False, False, False, 0) {}
Traceback (most recent call last):
  File "D:\Stable-Diffusion\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "D:\Stable-Diffusion\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "D:\Stable-Diffusion\stable-diffusion-webui\modules\img2img.py", line 87, in img2img
    image = init_img.convert("RGB")
AttributeError: 'NoneType' object has no attribute 'convert'

Task exception was never retrieved
future: <Task finished name='78n8tf1oajc_149' coro=<Queue.process_events() done, defined at D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py:343> exception=WebSocketDisconnect(1006)>
Traceback (most recent call last):
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 347, in process_events
    client_awake = await self.gather_event_data(event)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
    data, client_awake = await self.get_message(event, timeout=receive_timeout)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 453, in get_message
    data = await asyncio.wait_for(
  File "C:\Users\Zet\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 445, in wait_for
    return fut.result()
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
```

### Commit where the problem happens

955df775 

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--api --skip-torch-cuda-test
```


### List of extensions

no

### Console logs

```Shell
Requirement already satisfied: blendmodes in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 1)) (2022)
Requirement already satisfied: accelerate in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 2)) (0.18.0)
Requirement already satisfied: basicsr in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 3)) (1.4.2)
Requirement already satisfied: fonts in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 4)) (0.0.3)
Requirement already satisfied: font-roboto in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 5)) (0.0.1)
Requirement already satisfied: gfpgan in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 6)) (1.3.8)
Requirement already satisfied: gradio==3.23 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 7)) (3.23.0)
Requirement already satisfied: invisible-watermark in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 8)) (0.1.5)
Requirement already satisfied: numpy in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 9)) (1.23.5)
Requirement already satisfied: omegaconf in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 10)) (2.3.0)
Requirement already satisfied: opencv-contrib-python in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 11)) (4.7.0.72)
Requirement already satisfied: requests in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 12)) (2.28.2)
Requirement already satisfied: piexif in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 13)) (1.1.3)
Requirement already satisfied: Pillow in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 14)) (9.4.0)
Requirement already satisfied: pytorch_lightning==1.7.7 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 15)) (1.7.7)
Requirement already satisfied: realesrgan in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 16)) (0.3.0)
Requirement already satisfied: scikit-image>=0.19 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 17)) (0.20.0)
Requirement already satisfied: timm==0.4.12 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 18)) (0.4.12)
Requirement already satisfied: transformers==4.25.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 19)) (4.25.1)
Requirement already satisfied: torch in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 20)) (2.0.0)
Requirement already satisfied: einops in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 21)) (0.6.0)
Requirement already satisfied: jsonmerge in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 22)) (1.9.0)
Requirement already satisfied: clean-fid in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 23)) (0.1.35)
Requirement already satisfied: resize-right in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 24)) (0.0.2)
Requirement already satisfied: torchdiffeq in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 25)) (0.2.3)
Requirement already satisfied: kornia in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 26)) (0.6.10)
Requirement already satisfied: lark in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 27)) (1.1.5)
Requirement already satisfied: inflection in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 28)) (0.5.1)
Requirement already satisfied: GitPython in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 29)) (3.1.31)
Requirement already satisfied: torchsde in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 30)) (0.2.5)
Requirement already satisfied: safetensors in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 31)) (0.3.0)
Requirement already satisfied: psutil in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 32)) (5.9.4)
Requirement already satisfied: rich in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 33)) (13.3.3)
Requirement already satisfied: mdit-py-plugins<=0.3.3 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.3.3)
Requirement already satisfied: pyyaml in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (6.0)
Requirement already satisfied: python-multipart in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.0.6)
Requirement already satisfied: orjson in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (3.8.8)
Requirement already satisfied: pydantic in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (1.10.7)
Requirement already satisfied: semantic-version in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (2.10.0)
Requirement already satisfied: uvicorn in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.21.1)
Requirement already satisfied: httpx in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.23.3)
Requirement already satisfied: aiofiles in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (23.1.0)
Requirement already satisfied: altair>=4.2.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (4.2.2)
Requirement already satisfied: huggingface-hub in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.13.3)
Requirement already satisfied: markdown-it-py[linkify]>=2.0.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (2.2.0)
Requirement already satisfied: ffmpy in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.3.0)
Requirement already satisfied: websockets>=10.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (10.4)
Requirement already satisfied: aiohttp in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (3.8.4)
Requirement already satisfied: matplotlib in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (3.7.1)
Requirement already satisfied: markupsafe in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (2.1.2)
Requirement already satisfied: fastapi in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.95.0)
Requirement already satisfied: typing-extensions in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (4.5.0)
Requirement already satisfied: pandas in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (1.5.3)
Requirement already satisfied: fsspec in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (2023.3.0)
Requirement already satisfied: pydub in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (0.25.1)
Requirement already satisfied: jinja2 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gradio==3.23->-r requirements.txt (line 7)) (3.1.2)
Requirement already satisfied: tensorboard>=2.9.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.12.0)
Requirement already satisfied: pyDeprecate>=0.3.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.3.2)
Requirement already satisfied: packaging>=17.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (23.0)
Requirement already satisfied: torchmetrics>=0.7.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.11.4)
Requirement already satisfied: tqdm>=4.57.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.65.0)
Requirement already satisfied: torchvision in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from timm==0.4.12->-r requirements.txt (line 18)) (0.15.1)
Requirement already satisfied: regex!=2019.12.17 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.25.1->-r requirements.txt (line 19)) (2023.3.23)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.25.1->-r requirements.txt (line 19)) (0.13.2)
Requirement already satisfied: filelock in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.25.1->-r requirements.txt (line 19)) (3.10.0)
Requirement already satisfied: aenum<4,>=3.1.7 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from blendmodes->-r requirements.txt (line 1)) (3.1.11)
Requirement already satisfied: deprecation<3,>=2.1.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from blendmodes->-r requirements.txt (line 1)) (2.1.0)
Requirement already satisfied: addict in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (2.4.0)
Requirement already satisfied: future in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (0.18.3)
Requirement already satisfied: lmdb in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (1.4.0)
Requirement already satisfied: opencv-python in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (4.7.0.72)
Requirement already satisfied: scipy in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (1.10.1)
Requirement already satisfied: tb-nightly in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (2.13.0a20230317)
Requirement already satisfied: yapf in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from basicsr->-r requirements.txt (line 3)) (0.32.0)
Requirement already satisfied: facexlib>=0.2.5 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gfpgan->-r requirements.txt (line 6)) (0.2.5)
Requirement already satisfied: onnxruntime in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.14.1)
Requirement already satisfied: onnx in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.13.1)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.4.1)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from omegaconf->-r requirements.txt (line 10)) (4.9.3)
Requirement already satisfied: idna<4,>=2.5 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 12)) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 12)) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 12)) (1.26.15)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 12)) (3.1.0)
Requirement already satisfied: networkx>=2.8 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (3.0)
Requirement already satisfied: tifffile>=2019.7.26 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2023.3.21)
Requirement already satisfied: lazy_loader>=0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (0.2)
Requirement already satisfied: imageio>=2.4.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2.27.0)
Requirement already satisfied: sympy in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from torch->-r requirements.txt (line 20)) (1.11.1)
Requirement already satisfied: jsonschema>2.4.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from jsonmerge->-r requirements.txt (line 22)) (4.17.3)
Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from GitPython->-r requirements.txt (line 29)) (4.0.10)
Requirement already satisfied: boltons>=20.2.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from torchsde->-r requirements.txt (line 30)) (23.0.0)
Requirement already satisfied: trampoline>=0.1.2 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from torchsde->-r requirements.txt (line 30)) (0.1.2)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from rich->-r requirements.txt (line 33)) (2.14.0)
Requirement already satisfied: entrypoints in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from altair>=4.2.0->gradio==3.23->-r requirements.txt (line 7)) (0.4)
Requirement already satisfied: toolz in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from altair>=4.2.0->gradio==3.23->-r requirements.txt (line 7)) (0.12.0)
Requirement already satisfied: filterpy in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (1.4.5)
Requirement already satisfied: numba in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (0.56.4)
Requirement already satisfied: attrs>=17.3.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->gradio==3.23->-r requirements.txt (line 7)) (22.2.0)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->gradio==3.23->-r requirements.txt (line 7)) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->gradio==3.23->-r requirements.txt (line 7)) (1.8.2)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->gradio==3.23->-r requirements.txt (line 7)) (6.0.4)
Requirement already satisfied: aiosignal>=1.1.2 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->gradio==3.23->-r requirements.txt (line 7)) (1.3.1)
Requirement already satisfied: frozenlist>=1.1.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->gradio==3.23->-r requirements.txt (line 7)) (1.3.3)
Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from gitdb<5,>=4.0.1->GitPython->-r requirements.txt (line 29)) (5.0.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>2.4.0->jsonmerge->-r requirements.txt (line 22)) (0.19.3)
Requirement already satisfied: mdurl~=0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.23->-r requirements.txt (line 7)) (0.1.2)
Requirement already satisfied: linkify-it-py<3,>=1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.23->-r requirements.txt (line 7)) (2.0.0)
Requirement already satisfied: pytz>=2020.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pandas->gradio==3.23->-r requirements.txt (line 7)) (2023.2)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pandas->gradio==3.23->-r requirements.txt (line 7)) (2.8.2)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.7.0)
Requirement already satisfied: grpcio>=1.48.2 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.53.0)
Requirement already satisfied: wheel>=0.26 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.40.0)
Requirement already satisfied: markdown>=2.6.8 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.4.3)
Requirement already satisfied: protobuf>=3.19.6 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.20.3)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.8.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.6)
Requirement already satisfied: absl-py>=0.4 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.4.0)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (63.2.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.16.3)
Requirement already satisfied: werkzeug>=1.0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.2.3)
Requirement already satisfied: colorama in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from tqdm>=4.57.0->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.6)
Requirement already satisfied: starlette<0.27.0,>=0.26.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from fastapi->gradio==3.23->-r requirements.txt (line 7)) (0.26.1)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from httpx->gradio==3.23->-r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: sniffio in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from httpx->gradio==3.23->-r requirements.txt (line 7)) (1.3.0)
Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from httpx->gradio==3.23->-r requirements.txt (line 7)) (0.16.3)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->gradio==3.23->-r requirements.txt (line 7)) (4.39.2)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->gradio==3.23->-r requirements.txt (line 7)) (1.0.7)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->gradio==3.23->-r requirements.txt (line 7)) (3.0.9)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->gradio==3.23->-r requirements.txt (line 7)) (1.4.4)
Requirement already satisfied: cycler>=0.10 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->gradio==3.23->-r requirements.txt (line 7)) (0.11.0)
Requirement already satisfied: flatbuffers in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (23.3.3)
Requirement already satisfied: coloredlogs in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (15.0.1)
Requirement already satisfied: mpmath>=0.19 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch->-r requirements.txt (line 20)) (1.3.0)
Requirement already satisfied: h11>=0.8 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from uvicorn->gradio==3.23->-r requirements.txt (line 7)) (0.14.0)
Requirement already satisfied: click>=7.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from uvicorn->gradio==3.23->-r requirements.txt (line 7)) (8.1.3)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (5.3.0)
Requirement already satisfied: six>=1.9.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.16.0)
Requirement already satisfied: rsa<5,>=3.1.4 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.9)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.2.8)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.3.1)
Requirement already satisfied: anyio<5.0,>=3.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from httpcore<0.17.0,>=0.15.0->httpx->gradio==3.23->-r requirements.txt (line 7)) (3.6.2)
Requirement already satisfied: uc-micro-py in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from linkify-it-py<3,>=1->markdown-it-py[linkify]>=2.0.0->gradio==3.23->-r requirements.txt (line 7)) (1.0.1)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from coloredlogs->onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (10.0)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from numba->facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (0.39.1)
Requirement already satisfied: pyreadline3 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (3.4.1)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in c:\users\zet\appdata\local\programs\python\python310\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.2.2)

[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
venv "D:\Stable-Diffusion\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)]
Commit hash: 955df7751eef11bb7697e2d77f6b8a6226b21e13
Installing requirements for Web UI
Launching Web UI with arguments: --api --skip-torch-cuda-test
No module 'xformers'. Proceeding without it.
Loading weights [8634d80dec] from D:\Stable-Diffusion\stable-diffusion-webui\models\Stable-diffusion\blackjourney_main.safetensors
Creating model from config: D:\Stable-Diffusion\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 4.3s (load weights from disk: 0.2s, create model: 0.5s, apply weights to model: 0.7s, apply half(): 1.0s, move model to device: 0.9s, load textual inversion embeddings: 1.0s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 8.7s (import torch: 1.2s, import gradio: 0.8s, import ldm: 0.3s, other imports: 0.8s, load scripts: 0.6s, load SD checkpoint: 4.6s, create ui: 0.2s).
Task exception was never retrieved
future: <Task finished name='lp0gms6xfv_188' coro=<Queue.process_events() done, defined at D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py:343> exception=WebSocketDisconnect(1006)>
Traceback (most recent call last):
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 347, in process_events
    client_awake = await self.gather_event_data(event)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
    data, client_awake = await self.get_message(event, timeout=receive_timeout)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 453, in get_message
    data = await asyncio.wait_for(
  File "C:\Users\Zet\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 445, in wait_for
    return fut.result()
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1006
Task exception was never retrieved
future: <Task finished name='lp0gms6xfv_188' coro=<Queue.process_events() done, defined at D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py:343> exception=WebSocketDisconnect(1006)>
Traceback (most recent call last):
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 347, in process_events
    client_awake = await self.gather_event_data(event)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
    data, client_awake = await self.get_message(event, timeout=receive_timeout)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 453, in get_message
    data = await asyncio.wait_for(
  File "C:\Users\Zet\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 445, in wait_for
    return fut.result()
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1006
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:05<00:00,  3.95it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00,  5.80it/s]
Error completing request███████████████████████████████████████████████████████████████| 20/20 [00:03<00:00,  5.95it/s]
Arguments: ('task(7ypj03v4sots3fp)', 0, 'dadadad', '', [], None, None, None, None, None, None, None, 20, 0, 4, 0, 1, False, False, 1, 1, 7, 1.5, 0.75, -1.0, -1.0, 0, 0, 0, False, 512, 512, 0, 0, 32, 0, '', '', '', [], 0, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '<p style="margin-bottom:0.75em">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<p style="margin-bottom:0.75em">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', 0, '', 0, '', True, False, False, False, 0) {}
Traceback (most recent call last):
  File "D:\Stable-Diffusion\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "D:\Stable-Diffusion\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "D:\Stable-Diffusion\stable-diffusion-webui\modules\img2img.py", line 87, in img2img
    image = init_img.convert("RGB")
AttributeError: 'NoneType' object has no attribute 'convert'

Task exception was never retrieved
future: <Task finished name='78n8tf1oajc_149' coro=<Queue.process_events() done, defined at D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py:343> exception=WebSocketDisconnect(1006)>
Traceback (most recent call last):
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 347, in process_events
    client_awake = await self.gather_event_data(event)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
    data, client_awake = await self.get_message(event, timeout=receive_timeout)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\queueing.py", line 453, in get_message
    data = await asyncio.wait_for(
  File "C:\Users\Zet\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 445, in wait_for
    return fut.result()
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "D:\Stable-Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1006
```


### Additional information

_No response_