mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
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:
@@ -615,7 +615,8 @@ legacy_preprocessors = {
|
||||
"priority": 100,
|
||||
"tags": [
|
||||
"MLSD"
|
||||
]
|
||||
],
|
||||
"use_soft_projection_in_hr_fix": True
|
||||
},
|
||||
# "normal_bae": {
|
||||
# "label": "normal_bae",
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user