A newer version of the Gradio SDK is available: 5.42.0
5.42.0
Compile files of YOLOX object detection base on ncnn.YOLOX is included in ncnn now, you could also try building from ncnn, it's better.