code: def from_kinetics(
      clip_sampler: str = "uniform",
      clip_duration: int = 1,
      decode_audio: bool = False,
      batch_size=1,
      **data_module_kwargs,
  ) -> VideoClassificationData:
      """Downloads and loads the Kinetics data set."""
      download_data(
          "https://pl-flash-data.s3.amazonaws.com/kinetics.zip",
          "./data",
      )
      return VideoClassificationData.from_folders(
          train_folder=os.path.join(os.getcwd(), "data/kinetics/train"),
          val_folder=os.path.join(os.getcwd(), "data/kinetics/val"),
          clip_sampler=clip_sampler,
          clip_duration=clip_duration,
          decode_audio=decode_audio,
          batch_size=batch_size,
          **data_module_kwargs,
      )
  
imports: import os
  from flash.core.data.utils import download_data
  from flash.core.utilities.flash_cli import FlashCLI
  from flash.video import VideoClassificationData, VideoClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: from_kinetics(clip_sampler, clip_duration, decode_audio, batch_size) and returns: VideoClassificationData