ali121300 commited on
Commit
681f3fb
1 Parent(s): f2c89bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -144,6 +144,8 @@ def main():
144
  with st.sidebar:
145
  st.subheader("Your excel file")
146
  xls_docs = st.file_uploader("Upload your PDFs here and click on 'Process'", accept_multiple_files=True,type=['xlsx'])
 
 
147
 
148
  st.subheader("Your documents")
149
  pdf_docs = st.file_uploader("Upload your PDFs here and click on 'Process'", accept_multiple_files=True)
 
144
  with st.sidebar:
145
  st.subheader("Your excel file")
146
  xls_docs = st.file_uploader("Upload your PDFs here and click on 'Process'", accept_multiple_files=True,type=['xlsx'])
147
+ if xls_docs is not None:
148
+ df = pd.read_excel(xls_docs)
149
 
150
  st.subheader("Your documents")
151
  pdf_docs = st.file_uploader("Upload your PDFs here and click on 'Process'", accept_multiple_files=True)