fix "TypeError: argument of type 'bool' is not iterable" coming from python3.xx/site-packages/gradio_client/utils.py
#254
by
mightychili
- opened
If you just copy the First_agent_template space and try to build it, you'll run into the "TypeError: argument of type 'bool' is not iterable", which is related to the version of Pydantic the Space is using.
More info: https://github.com/gradio-app/gradio/issues/10649
That fixed it for me. I was trying to figure out what I did wrong.
I added these lines to the requirements.txt file
pytz
pydantic==2.10.6
gradio==5.23.1
Hey @mightychili , see my response on the previous thread https://huggingface.co/spaces/agents-course/First_agent_template/discussions/251#67e91824b2ee89a77ae21125
Cheers!