Cannot Fetch Model Status From HuggingFace

Hello,

I am working on the 2nd challenge of the lesson “The Ai Engineer Path / Open-Source Models / Finding Free Models With The HuggingFace Hub”.

In that lesson we have the function “isModelInferenceEnabled”. This function does not execute successfully for me. The fetch call produces an error response.

Here is a link to my solution scrim which demonstrates the error:
Finding Free Models With The HuggingFace.js Hub 🤗

Loading the following url with a browser results in the screen shot below:
https://api-inference.huggingface.co/status/prompthero/openjourney