How to connect trained CNN model with yolov7?

I have a trained CNN model. I want to connect it to yolo for real-time detection. If anyone knows about it I would greatly appreciate it.