code: def test_from_csv(tmpdir):
      csv_path = csv_data(tmpdir)
      dm = SpeechRecognitionData.from_csv(
          "file",
          "text",
          train_file=csv_path,
          batch_size=1,
          num_workers=0,
      )
      batch = next(iter(dm.train_dataloader()))
      assert DataKeys.INPUT in batch
      assert DataKeys.TARGET in batch
  
file_path: lightning-flash/tests/audio/speech_recognition/test_data.py
imports: import json
  import os
  from pathlib import Path
  import flash
  import pytest
  from flash.audio import SpeechRecognitionData
  from flash.core.data.io.input import DataKeys
  from flash.core.utilities.imports import _TOPIC_AUDIO_AVAILABLE
label_desc: Use image node_id 3 for calling a global function with example usage: test_from_csv(tmpdir) without return types