Open arwooy opened 4 months ago
Hi have you installed the the Regional Prompter extension? If installed already, may I check what the version of Regional Prompter?
sd-webui-regional-prompter | https://github.com/hako-mikan/sd-webui-regional-prompter | main | 3a759b72 | 2023-12-18 14:21:18 | unknown
same iisue sd-webui-regional-prompter https://github.com/hako-mikan/sd-webui-regional-prompter.git main 3a759b72 2023-12-18 16:21:18
Hi, this error happens because the script can't find the components of regional prompter by their elem_id. But I can't figure out why cause all the elem_id are updated and I can't reproduce this error with exactly same commit version. My assumption is that the regional prompter's components somehow are not loaded the this extension trying to retrieve them. So I updated the code to make sure the extension is loaded after regional-prompter. Could you please try again with the latest version?
I am observing this as well. UI version: v1.9.3-1-gddb28b33 https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/ddb28b33a3561a360b429c76f28f7ff1ffe282a0
python: 3.10.6 torch: 2.1.2+cu121 gradio: 3.41.2 Extension version: https://github.com/zydxt/sd-webui-rpg-diffusionmaster/commit/1113d0c70f998edbb73895ad5a1fb183098bc327 2024-04-14 03:06:10
Regional prompter version: https://github.com/hako-mikan/sd-webui-regional-prompter/commit/50493ec0ef21944de730f490682721d4522a3def 2024-04-06 09:53:11
@zydxt The issue is the IDs, for whatever reason, they are now as follows: RP_maint2i RP_activet2i RP_modet2i RP_main_splittingt2i RP_generation_modet2i RP_divide_ratiot2i RP_base_ratiot2i RP_usebaset2i
Adjusting them fixes the issue. Given it seems like you aren't facing it, I wonder if something you have is out of date, could be due to git pull being blocked by changes you made at some point.
@zydxt The issue is the IDs, for whatever reason, they are now as follows: RP_maint2i RP_activet2i RP_modet2i RP_main_splittingt2i RP_generation_modet2i RP_divide_ratiot2i RP_base_ratiot2i RP_usebaset2i
Adjusting them fixes the issue. Given it seems like you aren't facing it, I wonder if something you have is out of date, could be due to git pull being blocked by changes you made at some point.
Thank you so much! I'll fix that.
[LOG_END] Traceback (most recent call last): File "/home/ubuntu/sd/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 "/home/ubuntu/sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1434, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "/home/ubuntu/sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1288, in postprocess_data predictions = convert_component_dict_to_list( File "/home/ubuntu/sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 485, in convert_component_dict_to_list raise ValueError( ValueError: Returned dictionary included some keys as Components. Either all keys must be Components to assign Component values, or return a List of values to assign output values in order. Traceback (most recent call last): File "/home/ubuntu/sd/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 "/home/ubuntu/sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1434, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "/home/ubuntu/sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1288, in postprocess_data predictions = convert_component_dict_to_list( File "/home/ubuntu/sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 485, in convert_component_dict_to_list raise ValueError( ValueError: Returned dictionary included some keys as Components. Either all keys must be Components to assign Component values, or return a List of values to assign output values in order.