Improve-token-checking-with-whoami-api

#110
Giskard org
edited Feb 9

Before we use a tiny model to verify the token, but that was still very slow. According to this post https://stackoverflow.com/questions/72289714/how-to-validate-hugging-face-organization-token we can use whoami api to check the validity of the token. This PR leverage this to fast-forward the validation of token. Maybe we can include the username in the post later.

ZeroCommand changed pull request status to open
ZeroCommand changed pull request status to merged

Sign up or log in to comment