File size: 551 Bytes
e1e437f
5b7e89a
 
1f9eb35
5b7e89a
 
004d701
5b7e89a
e1e437f
0bbd0be
5b7e89a
 
4778aaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)