user `gr.LoginButton` instead of passing the token manually
#11
by
not-lain
- opened
as the name suggests, this feature is about switching to gr.LoginButton
instead of passing the token manually.
a very nice example that can be used as a reference for building this feature can be found here: https://huggingface.co/spaces/templates/gradio-oauth
Important ⚠️: DO NOT FORGET TO UPDATE YOUR README, there's important metadata there that would define the scope of access the button will have, for example, if it needs reading access or writing access, and other stuff