AttributeError: module ‘tensorflow’ has no attribute ‘app’ April 15, 2023 by Tarik try using import tensorflow.compat.v1 as tf