code: def clean_artifacts_dir():
      if os.path.isdir("artifacts"):
          shutil.rmtree("artifacts")
  
imports: import os
  import pickle
  import shutil
  import time
  import numpy
  import wandb
  from PIL import Image
label_desc: Use image node_id 8 for calling a global function with example usage: clean_artifacts_dir() without return types