fix "TypeError: argument of type 'bool' is not iterable" coming from python3.xx/site-packages/gradio_client/utils.py
Browse filesIf 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
- 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
|