Spaces:
Runtime error
Runtime error
Commit
·
9214c84
1
Parent(s):
b101525
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,10 @@ from PIL import ImageDraw
|
|
3 |
import streamlit as st
|
4 |
|
5 |
|
6 |
-
uploaded_file = st.file_uploader("
|
7 |
-
|
8 |
-
|
|
|
9 |
|
10 |
|
11 |
|
|
|
3 |
import streamlit as st
|
4 |
|
5 |
|
6 |
+
uploaded_file = st.file_uploader("Upload Files",type=['png','jpeg'])
|
7 |
+
if uploaded_file is not None:
|
8 |
+
file_details = {"FileName":uploaded_file.name,"FileType":uploaded_file.type,"FileSize":uploaded_file.size}
|
9 |
+
st.write(file_details)
|
10 |
|
11 |
|
12 |
|