code: def test_inference(pretrained_model, language_specific_text_example):
      model, language_id = pretrained_model
      text = language_specific_text_example[language_id]
      parsed_text = model.parse(text)
      _ = model.generate_spectrogram(
          tokens=parsed_text, raw_texts=[text]
      )
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_inference(pretrained_model, language_specific_text_example) without return types