vives commited on
Commit
191c6ec
1 Parent(s): d8a4dbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,4 +2,5 @@
2
  import streamlit as st
3
  import pandas as pd
4
  xl1 = st.file_uploader("Choose a file")
5
- st.write(pd.read_excel(xl1))
 
 
2
  import streamlit as st
3
  import pandas as pd
4
  xl1 = st.file_uploader("Choose a file")
5
+ if xl1 is not None:
6
+ st.write(pd.read_excel(xl1))