pkuliyi2015 / multidiffusion-upscaler-for-automatic1111

Tiled Diffusion and VAE optimize, licensed under CC BY-NC-SA 4.0
Other
4.59k stars 330 forks source link

Gradio error when hitting Generate #345

Open tddschn opened 5 months ago

tddschn commented 5 months ago

Env: Ubuntu 22.04, NVIDIA GPU

I installed this extension with git clone and restarted the Web UI by rerunning bash webui.sh, and got the following error when I click on the Generate button. Removing the extension and the error is gone.

AssertionError: function with index 596 not defined.
Traceback (most recent call last):
  File "/dev/shm/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/dev/shm/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1429, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "/dev/shm/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1239, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
  File "/dev/shm/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components/image.py", line 273, in preprocess
    assert isinstance(x, str)
AssertionError