When the same code is run in Jupyter notebook and streamlit, I get different outputs from the same Keras model.