A newer version of the Gradio SDK is available: 5.22.0
5.22.0
python3 -m pip install twine python3 -m pip install --upgrade pip pip3 install build
bash scripts/upload_pypi.sh