code: def predict(model_dir, image_files, resize, show_image):
      
  
      from . import _predictor
  
      images = _util.load_images(image_files, resize=resize)
      labels_and_scores = _predictor.predict(model_dir, images)
      results = zip(image_files, images, labels_and_scores)
      ret = _util.process_prediction_results(results, show_image)
      return ret
docs: Predict using an model in a local or GCS directory.