# Error - Model is loading Inference API

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-model-is-loading-inference-api%2F90424%3E%5C
**Category:** Beginners\
**Created:** [June 5, 2024, 8:08am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-model-is-loading-inference-api%2F90424 "2024-06-05T08:08:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoGic142](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@LoGic142](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FLoGic142)%5C
**Post date:** [June 5, 2024, 8:08am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-model-is-loading-inference-api%2F90424%2F1 "2024-06-05T08:08:51Z")

</div>

Here is the model I am using for a product - [speechbrain/lang-id-voxlingua107-ecapa · Hugging Face](https://huggingface.co/speechbrain/lang-id-voxlingua107-ecapa).

I see a 503 error for the first few times (the model is loading). I see a keyword argument “wait\_for\_model” in the text modality models, but I don’t see such a thing here.

What is the workaround for this? How to solve this gracefully so that the user experience is not hampered much

Thanks in advance.
