yfszzx / stable-diffusion-webui-inspiration

115 stars 23 forks source link

Solved the original Issue #35 #36 #36

Open vintol opened 1 year ago

vintol commented 1 year ago

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

vintol commented 1 year ago

This solves issue #35, #36.

A dirty fix.

HPPinata commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

This is caused by gradio update.