Skip to content

Commit

Permalink
Update huggingface-spaces.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dvsrepo authored Feb 14, 2024
1 parent e3847e1 commit 22b9efe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ This will create a Client ID and an App Secret that you will need to add as vari
1. **Name:** `OAUTH2_HUGGINGFACE_CLIENT_ID` - **Value:** [Your Client ID]
2. **Name:** `OAUTH2_HUGGINGFACE_CLIENT_SECRET` - **Value:** [Your App Secret]

Finally, you need to change `.oauth.yaml` located in the files page of your Space. Then go back to the *Settings* to do a *Factory rebuild*. Once the Space is restarted, you and your collaborators can sign and log in to your Space using their Hugging Face accounts.
Finally, you need to change the `.oauth.yaml` file located in the Files page of your Space (see below how this file looks like). Once you have merged the change, go back to the *Settings* to do a *Factory rebuild*. Once the Space is restarted, you and your collaborators can sign and log in to your Space using their Hugging Face accounts.

```yaml
# This attribute will enable or disable the Hugging Face authentication
Expand Down

0 comments on commit 22b9efe

Please sign in to comment.