code: def data_proc(dataset_folder, output_folder):
      """
  
      Prepare .csv files for librimix
  
      Arguments:
      ----------
          dataset_folder (str) : path for the dataset github folder
          output_folder (str) : path where we save the json files.
      """
  
      try:
          os.mkdir(output_folder)
      except OSError:
          print(
              "Tried to create "
              + output_folder
              + ", but folder already exists."
          )
  
      for split in ["train", "valid", "test"]:
          split_folder = "/".join([dataset_folder, split, "txt"])
  
          output_json = generate_json(split_folder, split)
  
          write_json(output_folder + "/" + split + ".json", output_json)
  
imports: import json
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: data_proc(dataset_folder, output_folder) without return types