code: def predict_all(model_id, image_paths):
      return requests.post(
          f"http://127.0.0.1:8000/predicts/{model_id}",
          files=[("files", open(path, "rb")) for path in image_paths],
      ).json()
  
label_desc: Use image node_id 2 for calling a global function with example usage: predict_all(model_id, image_paths) and returns: requests