Spaces:
Running
Running
Daniel Gil-U Fuhge
commited on
Commit
•
7fcf6be
1
Parent(s):
0000d05
change file type
Browse files
app.py
CHANGED
@@ -7,8 +7,9 @@ from animationPipeline import animateLogo
|
|
7 |
uploaded_file = st.file_uploader('Please upload your SVG')
|
8 |
if uploaded_file is not None:
|
9 |
file_details = {"FileName":uploaded_file.name,"FileType":uploaded_file.type}
|
10 |
-
if uploaded_file.type is not 'svg':
|
11 |
-
|
|
|
12 |
else:
|
13 |
st.write(file_details)
|
14 |
if not os.path.exists('tempDir'):
|
|
|
7 |
uploaded_file = st.file_uploader('Please upload your SVG')
|
8 |
if uploaded_file is not None:
|
9 |
file_details = {"FileName":uploaded_file.name,"FileType":uploaded_file.type}
|
10 |
+
if uploaded_file.type is not '.svg':
|
11 |
+
st.write(uploaded_file.type)
|
12 |
+
st.write('Please upload an SVG file.')
|
13 |
else:
|
14 |
st.write(file_details)
|
15 |
if not os.path.exists('tempDir'):
|