How can i stop displaying the main frame in detection.py in hailo-rpi5-examples

Do you have working code example to share? Thank you