mightychili commited on
Commit
978e882
·
verified ·
1 Parent(s): ae7a494

fix "TypeError: argument of type 'bool' is not iterable" coming from python3.xx/site-packages/gradio_client/utils.py

Browse files

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

Files changed (1) hide show
  1. requirements.txt +1 -0
requirements.txt CHANGED
@@ -3,3 +3,4 @@ smolagents
3
  requests
4
  duckduckgo_search
5
  pandas
 
 
3
  requests
4
  duckduckgo_search
5
  pandas
6
+ pydantic==2.10.6