From c09512bf12bc75df4e0f3240e509bb0983c5ebec Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 6 Jun 2023 16:57:25 +0530 Subject: [PATCH] dead code --- ui/easydiffusion/model_manager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/easydiffusion/model_manager.py b/ui/easydiffusion/model_manager.py index ef5166df..4d58953a 100644 --- a/ui/easydiffusion/model_manager.py +++ b/ui/easydiffusion/model_manager.py @@ -126,8 +126,6 @@ def resolve_model_to_use(model_name: str = None, model_type: str = None): if model_name: raise Exception(f"Could not find the desired model {model_name}! Is it present in the {model_dir} folder?") - return None - def reload_models_if_necessary(context: Context, task_data: TaskData): face_fix_lower = task_data.use_face_correction.lower() if task_data.use_face_correction else ""