use api key in interface.load to avoid 429 error frequently
#2
by
akhaliq
HF staff
- opened
Hi, api key can be passed as a parameter to interface.load, see https://www.gradio.app/docs/#load-header, also remember to use secrets in settings to not expose your api key
also since the is public anyone using the demo will count against api usage
Anyway work-around for that? Also is couldn't find how to use secrets in settings to not expose api.
muhtasham
changed discussion status to
closed
muhtasham
changed discussion status to
open
In spaces no need to set an API key for now, they have a custom API so you can leave this without having an API key.
But doesn’t that results in 429 error? Many people reached out that they have 429 error while playing around
Would be really cool if no API key is required.
muhtasham
changed discussion status to
closed