Update src/streamlit_app.py
Browse files9 unmodified lines101112131415169 unmodified lines# ========== Load Model ==========MODEL_PATH = os.path.join("..", "models", "model.h5") # THIS LINE DEFINES MODEL_PATHst.write(f"Current working directory: {os.getcwd()}")st.write(f"Looking for model at: {os.path.abspath(MODEL_PATH)}")9 unmodified lines10111213141516171819209 unmodified lines# ========== Load Model ==========MODEL_PATH = os.path.join("models", "model.h5") # No ".." needed anymoreif not os.path.exists(MODEL_PATH):st.error(f"Model file not found at: {MODEL_PATH}")st.stop()st.write(f"Current working directory: {os.getcwd()}")st.write(f"Looking for model at: {os.path.abspath(MODEL_PATH)}")
src/streamlit_app.py+5-1