Skip to content

Commit

Permalink
Use HF_TOKEN in spaces-sdks-docker-chatui.md (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobdz authored May 27, 2024
1 parent 74868a5 commit a70eb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hub/spaces-sdks-docker-chatui.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To get started, simply head [here](https://huggingface.co/new-space?template=hug
You should provide a MongoDB endpoint where your chats will be written. If you leave this section blank, your logs will be persisted to a database inside the Space. Note that Hugging Face does not have access to your chats. You can configure the name and the theme of the Space by providing the application name and application color parameters.
Below this, you can select the Hugging Face Hub ID of the model you wish to serve. You can also change the generation hyperparameters in the dictionary below in JSON format.

_Note_: If you'd like to deploy a model with gated access or a model in a private repository, you can simply provide `HUGGING_FACE_HUB_TOKEN` in repository secrets. You need to set its value to an access token you can get from [here](https://huggingface.co/settings/tokens).
_Note_: If you'd like to deploy a model with gated access or a model in a private repository, you can simply provide `HF_TOKEN` in repository secrets. You need to set its value to an access token you can get from [here](https://huggingface.co/settings/tokens).

<a href="Parameters">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/huggingface.co_spaces_docker_chatui_params.png" />
Expand Down

0 comments on commit a70eb7e

Please sign in to comment.