A newer version of the Gradio SDK is available: 5.29.1
5.29.1
pip install onnx>=1.10.0
python deploy/ONNX/export_onnx.py --weights yolov6s.pt --img 640 --batch 1