Agent Course - First Agent Template

requirements.txt fileand added the line ‘gradio= 5.23.3’

You need to modify README.md.
In the case of the Gradio space, you don’t need to set up Gradio in the requirements.txt file, because the settings in the README.md file are given relatively high priority in Hugging Face Spaces.