RunpodR
Runpod6mo ago
은표

Serverless Github with Huggingface token

How can I pass a Hugging Face token during the build process when deploying a serverless endpoint using the GitHub method and the Dockerfile requires the token?

ex)
//Dockerfile
...
RUN huggingface-cli download {repo} --token ${HF_TOKEN}
Was this page helpful?