Skip to content

Conversation

@vintol
Copy link

@vintol vintol commented Apr 18, 2023

This is a dirty fix. Someone should look into this for unintended consequences.

This is a dirty fix. Someone should look into this for unintended consequences.
@vintol
Copy link
Author

vintol commented Apr 18, 2023

This solves issue #35, #36.

A dirty fix.

Momi-V added a commit to Momi-V/stable-diffusion-webui-inspiration that referenced this pull request May 11, 2023
@Momi-V
Copy link
Contributor

Momi-V commented May 11, 2023

Currently having this Issue:

Traceback (most recent call last):
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/routes.py", line 399, in run_predict
    output = await app.get_blocks().process_api(
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/blocks.py", line 1297, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/blocks.py", line 1133, in preprocess_data
    self.validate_inputs(fn_index, inputs)
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/blocks.py", line 1120, in validate_inputs
    raise ValueError(
ValueError: An event handler (select_click) didn't receive enough input values (needed: 2, got: 1).
Check if the event handler calls a Javascript function, and make sure its return value is correct.
Wanted inputs:
    [textbox, state]
Received inputs:
    ["0"]

Will do some more testing, but some fields are not populated (blue dots)
2023-05-11 16_56_30-Einstellungen

@Codehimn
Copy link

Currently having this Issue:

Traceback (most recent call last):
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/routes.py", line 399, in run_predict
    output = await app.get_blocks().process_api(
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/blocks.py", line 1297, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/blocks.py", line 1133, in preprocess_data
    self.validate_inputs(fn_index, inputs)
  File "/home/momi/stable-diffusion-webui-ux/venv/lib64/python3.10/site-packages/gradio/blocks.py", line 1120, in validate_inputs
    raise ValueError(
ValueError: An event handler (select_click) didn't receive enough input values (needed: 2, got: 1).
Check if the event handler calls a Javascript function, and make sure its return value is correct.
Wanted inputs:
    [textbox, state]
Received inputs:
    ["0"]

Will do some more testing, but some fields are not populated (blue dots) 2023-05-11 16_56_30-Einstellungen

same

@vintol
Copy link
Author

vintol commented May 30, 2023

That's a new issue #37, Fixed it with another commit.

This is caused by gradio update.

@Momi-V Momi-V mentioned this pull request May 30, 2023
Momi-V pushed a commit to Momi-V/stable-diffusion-webui-inspiration that referenced this pull request May 31, 2023
This is a dirty fix. Someone should look into this for unintended consequences.
Momi-V pushed a commit to Momi-V/stable-diffusion-webui-inspiration that referenced this pull request May 31, 2023
This is a dirty fix. Someone should look into this for unintended consequences.
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

Successfully merging this pull request may close these issues.

3 participants