Commit
·
2a11918
1
Parent(s):
8466d2b
chore: Update sample images
Browse files- src/assets/object.jpg +2 -2
- src/assets/vehicle.jpg +2 -2
- src/streamlit_app.py +2 -2
src/assets/object.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
src/assets/vehicle.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
src/streamlit_app.py
CHANGED
|
@@ -49,7 +49,7 @@ with st.container():
|
|
| 49 |
# File uploader widget
|
| 50 |
uploaded_file = st.file_uploader(
|
| 51 |
label="Drag and drop an image here or click to browse",
|
| 52 |
-
type=["jpg", "jpeg", "png"],
|
| 53 |
help="Maximum file size is 200MB",
|
| 54 |
key="image_uploader",
|
| 55 |
)
|
|
@@ -111,7 +111,7 @@ with st.container():
|
|
| 111 |
|
| 112 |
# If the button is clicked, run the prediction logic
|
| 113 |
if classify_button and image_to_process:
|
| 114 |
-
with st.spinner("Analyzing image..."):
|
| 115 |
try:
|
| 116 |
from predictor import predict_image
|
| 117 |
|
|
|
|
| 49 |
# File uploader widget
|
| 50 |
uploaded_file = st.file_uploader(
|
| 51 |
label="Drag and drop an image here or click to browse",
|
| 52 |
+
type=["jpg", "jpeg", "png", "webp", "avif"],
|
| 53 |
help="Maximum file size is 200MB",
|
| 54 |
key="image_uploader",
|
| 55 |
)
|
|
|
|
| 111 |
|
| 112 |
# If the button is clicked, run the prediction logic
|
| 113 |
if classify_button and image_to_process:
|
| 114 |
+
with st.spinner(text="🧠 Analyzing image..."):
|
| 115 |
try:
|
| 116 |
from predictor import predict_image
|
| 117 |
|