Merge pull request #10987 from off99555/dev

Fix missing ext_filter kwarg
This commit is contained in:
AUTOMATIC1111 2023-06-03 18:57:10 +03:00 committed by GitHub
commit 30bbb8bce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ class Upscaler:
pass pass
def find_models(self, ext_filter=None) -> list: 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): def update_status(self, prompt):
print(f"\nextras: {prompt}", file=shared.progress_print_out) print(f"\nextras: {prompt}", file=shared.progress_print_out)