Go to google code lab as provided on the post
Click on black arrow buttons to run the code on CodeLab
Create an API key with Open AI -https://openai.com/blog/openai-api
And provide that API key to <API key> area and run the code
After few minutes you will end up with above GUI.