code: def load_model(
      url="https://github.com/opencv/opencv_zoo/raw/main/models/face_recognition_sface/face_recognition_sface_2021dec.onnx",
  ) -> Any:
      home = functions.get_deepface_home()
  
      file_name = (
          home
          + "/.deepface/weights/face_recognition_sface_2021dec.onnx"
      )
  
      if not os.path.isfile(file_name):
          logger.info("sface weights will be downloaded...")
  
          gdown.download(url, file_name, quiet=False)
  
      model = SFaceModel(model_path=file_name)
  
      return model
  
file_path: deepface/deepface/basemodels/SFace.py
imports: import os
  from typing import Any
  import numpy
  import cv2
  import gdown
  from deepface.commons import functions
  from deepface.commons.logger import Logger
label_desc: Use image node_id 1 for calling a global function with example usage: load_model(url) and returns: model