(I already installed all required packages, like python-dotenv, gradio, ipywidgets). I opened an account at hugging face and got my personal HF_API_KEY. I created an .env file and put all the required keys and urls into it…)
If this is a URL problem: Where to find/create the required URL(s)?
See the screen shot for the code and the error message.
Yes, I also found it very strange that the course focuses on gradio, yet it does not clearly state how to setup the endpoints correctly, so that we’re able to also use gradio outside of the course notebooks.
Hugging Face also has another course on the platform: Open Source Models with Hugging Face. The videos w/ code they have there also include some examples with gradio that were a bit more helpful in that regard.