load_predict_fn objects to a test function.
The test function used will vary based on what types of predictions are being returned. The API docs contain all of the supported types in test_launch_integration.py, but for this guide box annotations will be used since the example model is in that format.
This code can be run both in a Python shell and in a Jupyter notebook.
show_image can be set to True or False, but outside that context, it must be set to True to see the return image.