A newer version of the Gradio SDK is available: 5.22.0
5.22.0
pip install -r tests-units/requirements.txt
pytest tests-units/