Search_images_bing reports NameError: name 'api' is not defined

Hi,

I’m running this on azure ML studio. I chose fastaienv as the kernel. But always got such error

`---------------------------------------------------------------------------
NameError Traceback (most recent call last)
in
----> 1 results = search_images_bing(key, ‘grizzly bear’)
2 ims = results.attrgot(‘content_url’)
3 len(ims)

/anaconda/envs/fastaienv/lib/python3.8/site-packages/fastbook/init.py in search_images_bing(key, term, min_sz)
49
50 def search_images_bing(key, term, min_sz=128):
—> 51 client = api(‘https://api.cognitive.microsoft.com’, auth(key))
52 return L(client.images.search(query=term, count=150, min_height=min_sz, min_width=min_sz).value)
53

NameError: name ‘api’ is not defined`

Hi. Did you find the root of this issue? If I use the ‘clean’ version of the notebook it runs OK.