Please head over to https://github.com/davidADSP/Generative_Deep_Learning_2nd_Edition to check it out.
The master
branch of this repo contains the Tensorflow 1.14 code that is present in the original book (first edition)
The tensorflow_2
branch contains updated code that runs using Tensorflow 2.
However, I recommend swiching over to the repository for the 2nd edition (see above), as it contains many new examples and improvements to the overall structure.