Преглед изворни кода

Merge pull request #10987 from off99555/dev

Fix missing ext_filter kwarg
AUTOMATIC1111 пре 2 година
родитељ
комит
30bbb8bce3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/upscaler.py

+ 1 - 1
modules/upscaler.py

@@ -77,7 +77,7 @@ class Upscaler:
         pass
 
     def find_models(self, ext_filter=None) -> list:
-        return modelloader.load_models(model_path=self.model_path, model_url=self.model_url, command_path=self.user_path)
+        return modelloader.load_models(model_path=self.model_path, model_url=self.model_url, command_path=self.user_path, ext_filter=ext_filter)
 
     def update_status(self, prompt):
         print(f"\nextras: {prompt}", file=shared.progress_print_out)