I created a tensorflow lite custom model and running it on a Raspberry pi. How can I test the model with pre-recorded video rather than the webcam?

I followed the process in this video to create my custom model…Train a custom object detection model using your data - YouTube