Spaces:
Running
Running
Commit
·
1614706
1
Parent(s):
54c78cd
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ elif mode == "Train Mode":
|
|
| 63 |
st.header("Train the model with a new image and label")
|
| 64 |
|
| 65 |
# Image upload section
|
| 66 |
-
|
| 67 |
if file:
|
| 68 |
try:
|
| 69 |
image = preprocess_image(file)
|
|
|
|
| 63 |
st.header("Train the model with a new image and label")
|
| 64 |
|
| 65 |
# Image upload section
|
| 66 |
+
file = st.file_uploader('Select', type=['jpg', 'png', 'jpeg'])
|
| 67 |
if file:
|
| 68 |
try:
|
| 69 |
image = preprocess_image(file)
|