fix tile-colorfix problems

This will completely solve problems related to tile-colorfix and now tile colorfix/colorfix+sharp give same results to webui-cn
This commit is contained in:
lllyasviel
2024-02-14 02:19:04 -08:00
parent b50d978e1b
commit fa8be06613
4 changed files with 12 additions and 3 deletions

View File

@@ -615,7 +615,8 @@ legacy_preprocessors = {
"priority": 100,
"tags": [
"MLSD"
]
],
"use_soft_projection_in_hr_fix": True
},
# "normal_bae": {
# "label": "normal_bae",

View File

@@ -59,6 +59,9 @@ class LegacyPreprocessor(Preprocessor):
'instant-iD': ['instant_id', 'instantid'],
}
if legacy_dict.get('use_soft_projection_in_hr_fix', False):
self.use_soft_projection_in_hr_fix = True
self.model_filename_filters = []
for tag in self.tags:
tag_lower = tag.lower()