Mine stopped for a while too getting 503: I looked that you could set a provider. Which you can find if you click Looks like maybe the router code is not functioning properly. I could only speculate but potential issue there.
“503 Server Error: Service Temporarily Unavailable for url: /static-proxy?url=https%3A%2F%2Frouter.huggingface.co%2Fhf-inference%2Fmodels%2Fblack-forest-labs%2FFLUX.1-schnell%3C%2Fa%3E%E2%80%9D%3C%2Fp%3E
I changed the parameters to the following and it worked.from huggingface_hub import InferenceClient
client = InferenceClient(
provider="fal-ai",
api_key="hf_xxxxxxxxxxxxxxxxxxxxxxxx",
)
view code on the model card.
1 Like