code: def find_onnx_file(dir_path):
      if not os.path.exists(dir_path):
          return None
      paths = glob.glob("%s/*.onnx" % dir_path)
      if len(paths) == 0:
          return None
      paths = sorted(paths)
      return paths[-1]
  
imports: import os
  import os.path
  import glob
  import onnxruntime
  from .arcface_onnx import *
  from .retinaface import *
  from .landmark import *
  from .attribute import Attribute
  from .inswapper import INSwapper
  from ..utils import download_onnx
label_desc: Use image node_id 1 for calling a global function with example usage: find_onnx_file(dir_path) and returns: paths, None, None