import tensorflow as tf import time tf.keras.models.load_model("office4_tr.h5") # sleep for 5 seconds to simulate long loading time time.sleep(5)