MANIKANDAN A
commited on
Commit
·
bd7b553
1
Parent(s):
7d12ca3
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def main():
|
|
143 |
img_upload = st.file_uploader("Upload Image:", type=['jpg', 'png', 'jpeg'])
|
144 |
|
145 |
col1, col2 = st.columns(2)
|
146 |
-
if
|
147 |
if img_url:
|
148 |
img = Image.open(requests.get(img_url, stream=True).raw)
|
149 |
else:
|
|
|
143 |
img_upload = st.file_uploader("Upload Image:", type=['jpg', 'png', 'jpeg'])
|
144 |
|
145 |
col1, col2 = st.columns(2)
|
146 |
+
if img_upload or img_url:
|
147 |
if img_url:
|
148 |
img = Image.open(requests.get(img_url, stream=True).raw)
|
149 |
else:
|