You can disable all progress bars before the training loop by calling the following method:
tf.keras.utils.disable_interactive_logging()
After the training loop, enable progress bars by calling the enable method as:
tf.keras.utils.enable_interactive_logging()