Skip to content

Commit

Permalink
fix Simple Upscale
Browse files Browse the repository at this point in the history
  • Loading branch information
w-e-w committed Aug 12, 2024
1 parent 4823909 commit 7c8631a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/scripts_postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@ def initialize_scripts(self, scripts_data):
for script_data in scripts_data:
script: ScriptPostprocessing = script_data.script_class()
script.filename = script_data.path

if script.name == "Simple Upscale":
continue

self.scripts.append(script)

def create_script_ui(self, script, inputs):
Expand All @@ -144,6 +140,7 @@ def scripts_in_preferred_order(self):

scripts_order = shared.opts.postprocessing_operation_order
scripts_filter_out = set(shared.opts.postprocessing_disable_in_extras)
scripts_filter_out.add("Simple Upscale")

def script_score(name):
for i, possible_match in enumerate(scripts_order):
Expand Down

0 comments on commit 7c8631a

Please sign in to comment.