Commit 58cc03ed authored by AUTOMATIC's avatar AUTOMATIC
Browse files

fix scripts I broke with the extension tab changes

parent dc7425a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ class Extension:

        res = []
        for filename in sorted(os.listdir(dirpath)):
            res.append(scripts.ScriptFile(dirpath, filename, os.path.join(dirpath, filename)))
            res.append(scripts.ScriptFile(self.path, filename, os.path.join(dirpath, filename)))

        res = [x for x in res if os.path.splitext(x.path)[1].lower() == extension and os.path.isfile(x.path)]

+0 −3
Original line number Diff line number Diff line
@@ -61,9 +61,6 @@ def wrap_gradio_gpu_call(func, extra_outputs=None):

def initialize():
    extensions.list_extensions()
    #for ext in extensions.extensions:
    #    print(ext.name, ext.path, ext.enabled, ext.remote)
    #exit()

    if cmd_opts.ui_debug_mode:
        shared.sd_upscalers = upscaler.UpscalerLanczos().scalers