Securely store and access passwords, tokens, keys, and more
hf_access_token
and hf-access-token
are identical). Creating a new secret with a similar name overwrites the existing one.Add the secret name to config.yaml, setting the value to null:
config.yaml
or any other file that gets committed to your codebase.Access secrets in model.py:
Use secrets in load or predict: