Can I create a confidential app using Spaces?
Hello there!I am intrigued byspacesbut I am wondering if I can create an app that is only accessible to me (and not to Huggingface’s staff for instance) and to others with a password. Is this level of privacy possible?Thanks!
2021-12-31T11:33:39Z
You can create a private space. Private spaces are visible to only you (personal space) or members of your organization (organization space) as per HF.Maybe they are visible to HF staff too, I am not sure about it.If you don’t want to create space on HF, you can do it ongradio.apporstreamlit.io
2021-12-31T20:54:33Z
thanks@satpalsr. is there a way to add a password to the app?
2022-01-02T03:40:48Z
Hey@olaffson, Check this video:8. Gradio App Sharing with Login Authentication Page | Gradio ML UI Beginners Course - YouTube
2024-04-27T22:57:59Z
import os
import gradio as gr
read_key = os.environ.get('HF_TOKEN', None)
import gradio as gr
demo = gr.load("username/spacename", REDACTED_TOKEN=read_key, src="spaces")
demo.launch()Dont forget to define the HF_TOKEN in tokens section of settings