Open vintol opened 1 year ago
This solves issue #35, #36.
A dirty fix.
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)
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)
same
That's a new issue #37, Fixed it with another commit.
This is caused by gradio update.
This is a dirty fix. Someone should look into this for unintended consequences.