Thanks for pointing this out Grimaldi. I have updated the samples, and corrected them, and also uploaded a Google Colab with the examples as well to the end of the post as well.
Engineer & Side Project Junkie sharing what I am working on so readers like you can benefit from my experiences. Subscribe here for even more (dylanroy.com)