How to customize the "User Access requests" message?

Hello,

I’m adding a dataset to the hub, which seems very usable and great! I just have one question. Under “settings”->“user access requests”, the dataset owner can toggle an access request message that a user must acknowledge before accessing the dataset. I’m wondering how I can customize the message? It seems possible, because the access request message for this dataset is custom: mozilla-foundation/common_voice_7_0 · Datasets at Hugging Face

Thanks!

2 Likes

Hi! Yes, first enable the “user access requests” setting and then in the dataset README file specify a custom message in the extra_gated_prompt YAML field (use the mozilla-foundation/common_voice_7_0 README as an example).

cc @julien-c IMO it makes more sense to be able to specify this message directly in the repo settings and not in the README file.

2 Likes