Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Update 🧪 Try it out.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoCarabetta authored Dec 7, 2023
1 parent 2cd9c8f commit 60f957b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/🧪 Try it out.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

col1, col2, col3, col4 = st.columns([1, 0.5, 0.5, 1])

picture = st.camera_input("Take a picture")
picture = st.file_uploader("Upload an image")
if picture is not None:
if picture.size > MAX_FILE_SIZE:
st.error(
St.error(
"The uploaded file is too large. Please upload an image smaller than 5MB."
)
else:
Expand Down

0 comments on commit 60f957b

Please sign in to comment.