Update src/streamlit_app.py
Browse files60 unmodified lines61626364656665 unmodified lines13213313413560 unmodified lines# ========== File Upload Widget ==========uploaded_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])# ========== Preprocessing Function ==========IMG_SIZE = (224, 224)65 unmodified linesst.exception(e) # Display full traceback for any unhandled exceptionselse:# This message is displayed when the app loads and no file has been uploaded yetst.info("Awaiting image upload... Please use the 'Upload an image' button above.")60 unmodified lines6162636465666768697065 unmodified lines13613713813960 unmodified lines# ========== File Upload Widget ==========uploaded_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])# --- NEW DIAGNOSTIC LINE ---st.write(f"Uploaded file status: {uploaded_file}")# --- END NEW DIAGNOSTIC LINE ---# ========== Preprocessing Function ==========IMG_SIZE = (224, 224)65 unmodified linesst.exception(e) # Display full traceback for any unhandled exceptionselse:# This message is displayed when the app loads and no file has been uploaded yetst.info("Awaiting image upload... Please use the 'Upload an image' button above.")
src/streamlit_app.py+5-1