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!