A newer version of the Gradio SDK is available: 5.21.0
5.21.0
The code is highly based on TencentPretrain.