class_docstr: ActionClip model.
  
  Args:
      - clip_model (`nn.Module`):
          CLIP model
      - visual_prompt (`nn.Module`):
          Visual prompt.
      - text_prompt_flat (`bool`):
          Flag to control whether to use text prompt.
code: def __init__(
      self,
      clip_model: nn.Module,
      visual_prompt: nn.Module = None,
      text_prompt_flag: bool = True,
  ):
      super().__init__()
      self.clip_model = clip_model
      self.visual_prompt = visual_prompt
      self.text_prompt_flag = text_prompt_flag
  
file_path: towhee/towhee/models/action_clip/action_clip.py
imports: from typing import Union
  import torch.cuda
  from torch import nn
  from towhee.models import clip
  from towhee.models.action_clip.action_clip_utils import map_state_dict, get_configs
  from towhee.models.action_clip.text_prompt import text_prompt
  from towhee.models.action_clip.visual_prompt import VisualPrompt
label_desc: Use image node_id 1 to create a new ActionClip object  with example: obj = ActionClip(clip_model, visual_prompt, text_prompt_flag)