code: def gen_hf_io_catalog_entries(
      function_name: str, metadata: List[FunctionMetadataCatalogEntry]
  ):
      """
      Generates IO Catalog Entries for a HuggingFace Function.
      The attributes of the huggingface model can be extracted from metadata.
      """
      pipeline_args = {arg.key: arg.value for arg in metadata}
      function_input, function_output = infer_output_name_and_type(
          **pipeline_args
      )
      annotated_inputs = io_entry_for_inputs(
          function_name, function_input
      )
      annotated_outputs = io_entry_for_outputs(function_output)
      return annotated_inputs + annotated_outputs
  
file_path: evadb/evadb/third_party/huggingface/create.py
imports: from typing import Dict, List, Type, Union
  import numpy
  from evadb.catalog.catalog_type import ColumnType, NdArrayType
  from evadb.catalog.models.function_io_catalog import FunctionIOCatalogEntry
  from evadb.catalog.models.function_metadata_catalog import FunctionMetadataCatalogEntry
  from evadb.third_party.huggingface.model import ASRHFModel, AudioHFModel, HFInputTypes, ImageHFModel, TextHFModel
  from evadb.utils.generic_utils import try_to_import_transformers
label_desc: Use image node_id 9 for calling a global function with example usage: gen_hf_io_catalog_entries(function_name, metadata) and returns: unknown