Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Kolpitor
/
AI_ML
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
65b4a39
AI_ML
/
app.py
Kolpitor
Update app.py
65b4a39
about 3 years ago
raw
Copy download link
history
blame
Safe
224 Bytes
import
streamlit
as
st
from
PIL
import
Image
"""
# AI_ML
"""
uploaded_file = st.file_uploader(
"Choose a picture"
,
type
=[
"png"
,
"jpg"
,
"jpeg"
])
if
uploaded_file
is
not
None
:
st.image(Image.
open
(uploaded_file),width=
250
)