Trying to create a agent using python code and whe...
# agents
h
Trying to create a agent using python code and when running the following command
uv run agent.py download-files
Getting following error
OSError: There was a specific connection error when trying to load livekit/turn-detector:
401 Client Error: Unauthorized for url: https://huggingface.co/livekit/turn-detector/resolve/v1.2.2-en/config.json
do we need to do any operation realted to huggingface before running the command ?
r
Does that link work for you if you try an hit it directly?
h
no, it is giving error when being run locally, i tried creating a agent and deploy. there it is able to download the related packages
r
Does this URL work if you open it in your browser? https://huggingface.co/livekit/turn-detector/resolve/v1.2.2-en/config.json