ali121300 commited on
Commit
64a6ca9
1 Parent(s): 21cbbf6

Update app.py

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