class_docstr: Base Model for all HF Models that take in audio as input
class_docstr_tok: ["Base","Model","for","all","HF","Models","that","take","in","audio","as","input"]
code: def input_formatter(self, inputs: Any):
      # if audio is being passed using decord reader, we already have the audio as numpy arrays,
      # merge into single array and return
      if inputs.columns.str.contains("audio").any():
          return np.concatenate(inputs.iloc[:, 0].values)
      # else expect that the user passed an array of video file paths, get audio as numpy array
      audio = []
      files = inputs.iloc[:, 0].tolist()
  
      try_to_import_decord()
      import decord
  
      for file in files:
          # must read audio at 16000Hz because most models were trained at this sampling rate
          reader = decord.AudioReader(
              file, mono=True, sample_rate=16000
          )
          audio.append(reader[0:].asnumpy()[0])
      return audio
  
file_path: evadb/evadb/third_party/huggingface/model.py
imports: from typing import Any
  import numpy
  from evadb.functions.abstract.hf_abstract_function import AbstractHFFunction
  from evadb.utils.generic_utils import EvaDBEnum, try_to_import_decord
label_desc: Use image node_id 1 for calling the AudioHFModel obj's underlying member method code with example usage: obj.input_formatter(inputs) and returns: audio, np