use_auth_token = os.getenv("HF_TOKEN")print(f"Downloading model - {use_auth_token}")snapshot_download(...)
use_auth_token = os.getenv("HF_TOKEN")print(f"Downloading model - {use_auth_token}")snapshot_download(...)
result:
[INFO] #13 13.75 Downloading model - None
[INFO] #13 13.75 Downloading model - None
Solution
You can either build the Docker image yourself, push to a docker registry and deploy from there. Or if you want to use the Github Integration you need to put your key inside the Dockerfile, this is the current solution.