HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta

I am trying to use model_name=“HuggingFaceH4/zephyr-7b-beta” in my code ,
it use to work earlier but now i am getting this error :

HTTPError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py in hf_raise_for_status(response, endpoint_name)
285 try:
→ 286 response.raise_for_status()
287 except HTTPError as e:

15 frames
HTTPError: 502 Server Error: Bad Gateway for url: https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta

The above exception was the direct cause of the following exception:

HfHubHTTPError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py in hf_raise_for_status(response, endpoint_name)
331 # Convert HTTPError into a HfHubHTTPError to display request information
332 # as well (request id and/or server error message)
→ 333 raise HfHubHTTPError(str(e), response=response) from e
334
335

HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta