PLaying with the DALL-E API issue

I’m trying to explore the DALL-E API on Module 1 on Course 3:

Firstly, I had a problem with the first instruction:

image

Got this error:

image

With the help of chatGPT, we tracked that the correct directory was /home/jovyan/work

image

Now, I’m able to run gen_img.py, but got a new error:

According to chatGPT, it is probably a server/version with the lab environment, like with the api key or the proxy server.

Can anyone look into this?

Thanks!

Please see this thread.