Fix missing ext_filter kwarg

This commit is contained in:
Chanchana Sornsoontorn 2023-06-03 22:28:00 +07:00 committed by GitHub
parent b2fa0a921d
commit 68d8423288
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)