Public Space - Credentials
Is there a way I can use gradio within a public Hugging Space but add credentials to it?I’m aware the credentials will be visible in the app.py if I use the auth command, so is there a way to get around this?
2023-03-07T16:40:38Z
Hi@bradley6597!You can store the credentials as environment variables in the space and then read them is withos.environ.
2023-03-07T17:57:02Z
freddyaboulton:You can store the credentials as environment variables in the space and then read them is withos.environ.Hey@freddyaboulton,How would I get them into the environment initially on a Hugging Space instance?
2023-03-07T18:09:12Z
You can go to theSettingstab of your space and scroll down to where it saysRepository Secrets