Daniel Gil-U Fuhge commited on
Commit
849e8d1
1 Parent(s): 7fcf6be

update file type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ 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
  st.write(uploaded_file.type)
12
  st.write('Please upload an SVG file.')
13
  else:
 
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 'image/svg+xml':
11
  st.write(uploaded_file.type)
12
  st.write('Please upload an SVG file.')
13
  else: