import yaml


def read_params(config_path: str ='config/params.yaml')->dict:
    """Responsible for reading the yaml file

    Args:
        config_path (str): Path of the Yaml file . Defaults to 'config/params.yaml'

    Returns:
        dict: Return the details of the yaml file
    """
    with open(config_path, 'r') as f:
        return yaml.safe_load(f)