Spaces:
Runtime error
Runtime error
ChrisMofus
commited on
Commit
·
4e4112c
1
Parent(s):
4473c1b
Add more ext
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from PIL import Image
|
3 |
|
4 |
-
uploaded_file = st.file_uploader("Choose an image...", type="jpg")
|
5 |
|
6 |
if uploaded_file is not None:
|
7 |
image = Image.open(uploaded_file)
|
|
|
1 |
import streamlit as st
|
2 |
from PIL import Image
|
3 |
|
4 |
+
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png", "jpeg"])
|
5 |
|
6 |
if uploaded_file is not None:
|
7 |
image = Image.open(uploaded_file)
|