Add read-repos to hf oauth scope.
This commit is contained in:
parent
515d73f6f2
commit
5d8b3690ff
|
|
@ -64,7 +64,7 @@ PROVIDERS: dict[str, Provider] = {
|
||||||
host="huggingface.co",
|
host="huggingface.co",
|
||||||
authorize_url="https://huggingface.co/oauth/authorize",
|
authorize_url="https://huggingface.co/oauth/authorize",
|
||||||
token_url="https://huggingface.co/oauth/token",
|
token_url="https://huggingface.co/oauth/token",
|
||||||
scope="openid gated-repos",
|
scope="openid read-repos gated-repos",
|
||||||
env_keys=("HF_TOKEN", "HUGGING_FACE_HUB_TOKEN"),
|
env_keys=("HF_TOKEN", "HUGGING_FACE_HUB_TOKEN"),
|
||||||
client_id_env="COMFY_HF_OAUTH_CLIENT_ID",
|
client_id_env="COMFY_HF_OAUTH_CLIENT_ID",
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue