diff --git a/docs/hub/datasets-gated.md b/docs/hub/datasets-gated.md index e5a48e7af..a4d250e0a 100644 --- a/docs/hub/datasets-gated.md +++ b/docs/hub/datasets-gated.md @@ -115,11 +115,12 @@ extra_gated_fields: ``` -In some cases, you might also want to modify the text in the gate heading and the text in the button. For those use cases, you can modify `extra_gated_heading` and `extra_gated_button_content` like this: +In some cases, you might also want to modify the default text in the gate heading, description, and button. For those use cases, you can modify `extra_gated_heading`, `extra_gated_description` and `extra_gated_button_content` like this: ```yaml --- extra_gated_heading: "Acknowledge license to accept the repository" +extra_gated_description: "Our team may take 2-3 days to process your request" extra_gated_button_content: "Acknowledge license" --- ``` @@ -163,4 +164,4 @@ Alternatively, you can programmatically login using `login()` in a notebook or a You can also provide the `token` parameter to most loading methods in the libraries (`from_pretrained`, `hf_hub_download`, `load_dataset`, etc.), directly from your scripts. -For more details about how to login, check out the [login guide](https://huggingface.co/docs/huggingface_hub/quick-start#login). \ No newline at end of file +For more details about how to login, check out the [login guide](https://huggingface.co/docs/huggingface_hub/quick-start#login). diff --git a/docs/hub/models-gated.md b/docs/hub/models-gated.md index 1dfd07058..9664b439c 100644 --- a/docs/hub/models-gated.md +++ b/docs/hub/models-gated.md @@ -116,11 +116,12 @@ extra_gated_fields: ``` -In some cases, you might also want to modify the text in the gate heading and the text in the button. For those use cases, you can modify `extra_gated_heading` and `extra_gated_button_content` like this: +In some cases, you might also want to modify the default text in the gate heading, description, and button. For those use cases, you can modify `extra_gated_heading`, `extra_gated_description` and `extra_gated_button_content` like this: ```yaml --- extra_gated_heading: "Acknowledge license to accept the repository" +extra_gated_description: "Our team may take 2-3 days to process your request" extra_gated_button_content: "Acknowledge license" --- ``` @@ -177,4 +178,4 @@ Alternatively, you can programmatically login using `login()` in a notebook or a You can also provide the `token` parameter to most loading methods in the libraries (`from_pretrained`, `hf_hub_download`, `load_dataset`, etc.), directly from your scripts. -For more details about how to login, check out the [login guide](https://huggingface.co/docs/huggingface_hub/quick-start#login). \ No newline at end of file +For more details about how to login, check out the [login guide](https://huggingface.co/docs/huggingface_hub/quick-start#login).