After duplicating the space First Agent Template - a Hugging Face Space by agents-course,
I get this blocking exception at startup:
File “/usr/local/lib/python3.10/site-packages/gradio_client/utils.py”, line 898, in get_type
if “const” in schema:
TypeError: argument of type ‘bool’ is not iterable
Do you have any idea what might be causing this error during startup?
1 Like
The same phenomenon has been reported on HF Discord, and I have also confirmed it. For the time being, you can avoid it by updating the version of Gradio to the latest version, but I think it is probably some kind of bug in Hugging Face.
sdk_version: 5.23.1
1 Like