mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-01-26 19:09:45 +00:00
avoid forcing API to send hr_additional_modules (#2406)
This commit is contained in:
@@ -1402,7 +1402,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
|
||||
fp_additional_modules = getattr(shared.opts, 'forge_additional_modules')
|
||||
|
||||
reload = False
|
||||
if 'Use same choices' not in self.hr_additional_modules:
|
||||
if hasattr(self, 'hr_additional_modules') and 'Use same choices' not in self.hr_additional_modules:
|
||||
modules_changed = main_entry.modules_change(self.hr_additional_modules, save=False, refresh=False)
|
||||
if modules_changed:
|
||||
reload = True
|
||||
|
||||
Reference in New Issue
Block a user