Merge pull request #10025 from acncagua/Upscaler_initialization
Initialize the upscalers
This commit is contained in:
commit
b3a44385b1
@ -122,12 +122,9 @@ forbidden_upscaler_classes = set()
|
||||
|
||||
|
||||
def list_builtin_upscalers():
|
||||
load_upscalers()
|
||||
|
||||
builtin_upscaler_classes.clear()
|
||||
builtin_upscaler_classes.extend(Upscaler.__subclasses__())
|
||||
|
||||
|
||||
def forbid_loaded_nonbuiltin_upscalers():
|
||||
for cls in Upscaler.__subclasses__():
|
||||
if cls not in builtin_upscaler_classes:
|
||||
|
Loading…
Reference in New Issue
Block a user