code: def test_bark():
      # Too slow, 20s on GPU
      from transformers import AutoProcessor, AutoModel
  
      # bark_model = "suno/bark"
      bark_model = "suno/bark-small"
  
      # processor = AutoProcessor.from_pretrained("suno/bark-small")
      processor = AutoProcessor.from_pretrained(bark_model)
      model = AutoModel.from_pretrained(bark_model).to("cuda")
  
      inputs = processor(
          text=[
              "Hello, my name is Suno. And, uh — and I like pizza. [laughs] But I also have other interests such as playing tic tac toe."
          ],
          return_tensors="pt",
      )
      inputs = inputs.to("cuda")
      t0 = time.time()
      speech_values = model.generate(**inputs, do_sample=True)
      print("Duration: %s" % (time.time() - t0), flush=True)
  
      # sampling_rate = model.config.sample_rate
      sampling_rate = 24 * 1024
      scipy.io.wavfile.write(
          "bark_out.wav",
          rate=sampling_rate,
          data=speech_values.cpu().numpy().squeeze(),
      )
  
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 14 for calling a global function with example usage: test_bark() without return types