It seems your code was written in older versions of python and other libraries, some of which have changed significantly in newer version, can you please upload your environment configuration file in the repository too, it will be a great help if you do so