Spaces:
Running
Running
Commit
·
6efd78a
1
Parent(s):
4af4765
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,13 @@ st.markdown('''
|
|
| 25 |
''', unsafe_allow_html=True)
|
| 26 |
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
image = None
|
|
|
|
| 29 |
if opt == 'Upload image from device':
|
| 30 |
file = st.file_uploader('Select', type=['jpg', 'png', 'jpeg'])
|
| 31 |
if file:
|
|
|
|
| 25 |
''', unsafe_allow_html=True)
|
| 26 |
|
| 27 |
|
| 28 |
+
opt = st.selectbox(
|
| 29 |
+
"How do you want to upload the image for classification?",
|
| 30 |
+
("Please Select", "Upload image via link", "Upload image from device"),
|
| 31 |
+
)
|
| 32 |
+
|
| 33 |
image = None
|
| 34 |
+
|
| 35 |
if opt == 'Upload image from device':
|
| 36 |
file = st.file_uploader('Select', type=['jpg', 'png', 'jpeg'])
|
| 37 |
if file:
|