KEEP
KEEP copied to clipboard
Integrate KEEP model with RunPod Serverless
This commit introduces the necessary files and modifications to enable the KEEP model to run on RunPod Serverless.
Key changes:
- Added
handler.py: Contains the serverless handler function to process video URLs using the KEEP model. It includes logic for video downloading, frame processing, model inference, and output generation. - Created
Dockerfile: Defines the Docker image for the RunPod Serverless environment, including all dependencies, application code, and pre-trained model downloads. - Updated
requirements.txt: Addedrunpodpackage and ensured all other necessary dependencies are listed.
These changes allow you to deploy the KEEP model as a serverless endpoint on RunPod, accepting video URLs as input and returning processed videos.