Have you duplicated the versions of all the packages that are being used when you run the notebook on Coursera? Probably not, since you no longer have access to the Coursera version. The notebook is written to use the versions of all packages that were current in April of 2021. If you run things with current versions, there is no guarantee that it will work the same way.