scraed / CharacteristicGuidanceWebUI

Provide large guidance scale correction for Stable Diffusion web UI (AUTOMATIC1111), implementing the paper "Characteristic Guidance: Non-linear Correction for Diffusion Model at Large Guidance Scale"
https://scraed.github.io/CharacteristicGuidance/
Apache License 2.0
75 stars 8 forks source link

An exception occurred while Forge was running. #24

Closed cavaniho closed 1 week ago

cavaniho commented 1 month ago

After the update in Forge, this plugin started reporting errors, causing it to be unable to run.

*** Error calling: E:\aidraw\stable-diffusion-webui-forge\extensions\CharacteristicGuidanceWebUI\scripts\CHGextension.py/ui Traceback (most recent call last): File "E:\aidraw\stable-diffusion-webui-forge\modules\scripts.py", line 545, in wrap_call return func(*args, **kwargs) File "E:\aidraw\stable-diffusion-webui-forge\extensions\CharacteristicGuidanceWebUI\scripts\CHGextension.py", line 237, in ui with gr.Row(open=True): File "E:\aidraw\stable-diffusion-webui-forge\venv\lib\site-packages\gradio\component_meta.py", line 163, in wrapper return fn(self, **kwargs) TypeError: Row.__init__() got an unexpected keyword argument 'open'

*** Error running process_batch: E:\aidraw\stable-diffusion-webui-forge\extensions\CharacteristicGuidanceWebUI\scripts\CHGextension.py Traceback (most recent call last): File "E:\aidraw\stable-diffusion-webui-forge\modules\scripts.py", line 884, in process_batch script.process_batch(p, *script_args, **kwargs) TypeError: ExtensionTemplateScript.process_batch() missing 15 required positional arguments: 'reg_ini', 'reg_range', 'ite', 'noise_base', 'chara_decay', 'res', 'lr', 'reg_size', 'reg_w', 'aa_dim', 'checkbox', 'markdown', 'radio', 'start_step', and 'stop_step'

scraed commented 1 month ago

Hi, I suggest to switch back to previous Forge version according to here, as Forge was announced to become "experimental project" instead of a stable UI release.