Create Secret for Hugging Face Token
Last updated
Last updated
Create a secret to store the Hugging Face token. If you are using a Linux operating system, then run the following syntax to create the pvc.yaml file.
If you are using a Windows operating system, open a text editor such as Notepad or Notepad++.
Enter the following syntax.
Replace your-hugging-face-token-base64
with the base64-encoded version of your actual Hugging Face token. Click this link for further explanation.
If you are using a Linux operating system, run the following syntax but If you are using a Windows operating system, after save the file as secret.yaml, in CMD navigate to the folder that contains the secret.yaml file and run the following syntax.
To delete the secret.yaml configuration that has been applied, run the following syntax.
Replace [namespace] with the namespace you created in the sub-chapter Create Namespace.