A newer version of the Gradio SDK is available: 5.12.0
5.12.0
pip install -r requirements.txt
python main.py