| import streamlit as st | |
| from PIL import Image | |
| st.image("src/RezbinLogo.jpg", width=150) | |
| st.title("Rezbin AI 📷") | |
| st.write("Upload an image of your waste before throwing it.") | |
| uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png", "jpeg"]) | |
| if uploaded_file is not None: | |
| img = Image.open(uploaded_file) | |
| st.image(img, caption="Uploaded Image", use_container_width=True) | |
| st.markdown('<div style="background-color: orange; padding: 10px; border-radius: 5px;">This is a can. You earn 0.50</div>', unsafe_allow_html=True) | |