code: def audio_to_html(audio):
      audio_bytes = BytesIO()
      wavio.write(
          audio_bytes,
          audio[1].astype(np.float32),
          audio[0],
          sampwidth=4,
      )
      audio_bytes.seek(0)
  
      audio_base64 = base64.b64encode(audio_bytes.read()).decode(
          "utf-8"
      )
      audio_player = f'<audio src="data:audio/mpeg;base64,{audio_base64}" controls autoplay></audio>'
  
      return audio_player
  
imports: from __future__ import annotations
  import base64
  import io
  import time
  from io import BytesIO
  import numpy
  import scipy
  import wavio
  import soundfile
  import torch
  import librosa
  from src.tts_sentence_parsing import init_sentence_state, get_sentence
  from src.tts_utils import prepare_speech, get_no_audio, chunk_speed_change
label_desc: Use image node_id 12 for calling a global function with example usage: audio_to_html(audio) and returns: audio_player