code: def text_prompt(labels: list):
      text_dict = {}
      num_txt_augs = len(text_aug(""))
      txt_augs = [text_aug(c) for c in labels]
  
      for i in range(num_txt_augs):
          vals = [clip.tokenize(augs[i]) for augs in txt_augs]
          text_dict[i] = torch.cat(vals)
  
      classes = torch.cat([v for k, v in text_dict.items()])
  
      return classes, num_txt_augs, text_dict
  
imports: import torch
  from towhee.models import clip
label_desc: Use image node_id 2 for calling a global function with example usage: text_prompt(labels) and returns: classes,  num_txt_augs,  text_dict