wrong keys

This commit is contained in:
lllyasviel
2024-01-29 08:10:23 -08:00
parent 0118004dd6
commit 313ad8ea8e
2 changed files with 216 additions and 216 deletions

View File

@@ -17,7 +17,7 @@ from modules_forge.shared import Preprocessor, PreprocessorParameter, add_prepro
class LegacyPreprocessor(Preprocessor):
def __init__(self, legacy_dict):
super().__init__()
self.name = legacy_dict['name']
self.name = legacy_dict['label']
self.call_function = legacy_dict['call_function']
self.unload_function = legacy_dict['unload_function']
self.managed_model = legacy_dict['managed_model']