code: def build_model(model_name: str) -> Union[Model, Any]:
      """
      This function builds a deepface model
      Parameters:
              model_name (string): face recognition or facial attribute model
                      VGG-Face, Facenet, OpenFace, DeepFace, DeepID for face recognition
                      Age, Gender, Emotion, Race for facial attributes
  
      Returns:
              built deepface model ( (tf.)keras.models.Model )
      """
      return modeling.build_model(model_name=model_name)
  
file_path: deepface/deepface/DeepFace.py
imports: import os
  import warnings
  import logging
  from typing import Any, Dict, List, Tuple, Union
  import numpy
  import pandas
  import tensorflow
  from deprecated import deprecated
  from deepface.commons import functions
  from deepface.commons.logger import Logger
  from deepface.modules import modeling, representation, verification, recognition, demography, detection, realtime
label_desc: Use image node_id 1 for calling a global function with example usage: build_model(model_name) and returns: modeling