Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradio error when hitting Generate #345

Open
tddschn opened this issue Jan 28, 2024 · 0 comments
Open

Gradio error when hitting Generate #345

tddschn opened this issue Jan 28, 2024 · 0 comments

Comments

@tddschn
Copy link

tddschn commented Jan 28, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant