from HF Discord:
posti
I solved by creating a secret with the api token in the space settings
posti
On the space settings, go to Variables and secrets, and create a new secret named HF_TOKEN
The value of the secret should be your access token
If you need to create an access token, go to your HF profile page
On the left menu, go to the access token option
Andre’s then the Create new token, on the top right