Spaces:
Running
Running
Commit
·
fe9ae21
1
Parent(s):
23b935a
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,6 +30,8 @@ if opt == 'Upload image from device':
|
|
| 30 |
file = st.file_uploader('Select', type=['jpg', 'png', 'jpeg'])
|
| 31 |
if file is not None:
|
| 32 |
image = Image.open(file).resize((256, 256))#, Image.LANCZOS)
|
|
|
|
|
|
|
| 33 |
|
| 34 |
elif opt == 'Upload image via link':
|
| 35 |
img_url = st.text_input('Enter the Image Address')
|
|
|
|
| 30 |
file = st.file_uploader('Select', type=['jpg', 'png', 'jpeg'])
|
| 31 |
if file is not None:
|
| 32 |
image = Image.open(file).resize((256, 256))#, Image.LANCZOS)
|
| 33 |
+
st.info('File opened')
|
| 34 |
+
|
| 35 |
|
| 36 |
elif opt == 'Upload image via link':
|
| 37 |
img_url = st.text_input('Enter the Image Address')
|