Gated Models - Entering & Displaying Rejection Reason?

We host several gated medical models (see StanfordShahLab (Stanford Shah Lab) ) that require filling out form details such as valid ethics training, etc. However, when rejecting users due to errors in their forms, there are several issues currently:

  • The UI on the website doesn’t provide a way to enter a rejection message, only reject or cancel buttons. So no feedback to the user as to why the model request was rejected.
  • When using the hfapi, the API docs states a rejection_reason can be provided when rejecting a request

rejection_reason (str, optional) — Optional rejection reason that will be visible to the user (max 200 characters).

However, this message does not display on the gated model form only ‘Your request to access this repo has been rejected by the repo’s authors’

  • Once rejected, how can a user resubmit their application? Currently they only see a rejected gated model form with no obvious way to resubmit.

Any guidance you can provide on addressing these issues would be very helpful for us!

2 Likes

That’s right. There’s no problem if access to the gated repository is approved, but as of today, there is almost no flow for when it is rejected…
I think the only option is to contact them through the community discussion section.

This is inconvenient.

I found one GitHub issue, but it seems that there has been no progress. @Wauplin

1 Like