dead code

This commit is contained in:
cmdr2 2023-06-06 16:57:25 +05:30
parent 05c2de9450
commit c09512bf12

View File

@ -126,8 +126,6 @@ def resolve_model_to_use(model_name: str = None, model_type: str = None):
if model_name: if model_name:
raise Exception(f"Could not find the desired model {model_name}! Is it present in the {model_dir} folder?") 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): 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 "" face_fix_lower = task_data.use_face_correction.lower() if task_data.use_face_correction else ""