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