Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,14 +9,6 @@ import streamlit as st
|
|
9 |
st.title("Image Selection and Upload")
|
10 |
st.write("Select or upload an image to test the model.")
|
11 |
|
12 |
-
# Image selection
|
13 |
-
image_option = st.selectbox("Select an image:", ("Image 1", "Image 2", "Image 3"))
|
14 |
-
if image_option == "Image 1":
|
15 |
-
st.image("image1.jpg", caption="Image 1")
|
16 |
-
elif image_option == "Image 2":
|
17 |
-
st.image("image2.jpg", caption="Image 2")
|
18 |
-
elif image_option == "Image 3":
|
19 |
-
st.image("image3.jpg", caption="Image 3")
|
20 |
|
21 |
# Image upload
|
22 |
uploaded_file = st.file_uploader("Upload an image:", type=["jpg", "jpeg", "png"])
|
|
|
9 |
st.title("Image Selection and Upload")
|
10 |
st.write("Select or upload an image to test the model.")
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
# Image upload
|
14 |
uploaded_file = st.file_uploader("Upload an image:", type=["jpg", "jpeg", "png"])
|