code: def load_labels(path: Union[str, Path]) -> List[SingleConditionSpec]:
      
      condition_specs = np.load(str(path))
      return [c.view(SingleConditionSpec) for c in condition_specs]
docs: Load labels files.
  
      Parameters
      ----------
      path
          Path of labels file.
  
      Returns
      -------
      List[SingleConditionSpec]
          List of SingleConditionSpec stored in labels file.