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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,9 +143,9 @@ def main():
143
 
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)
 
143
 
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=['csv'])
147
  if xls_docs is not None:
148
+ df = pd.read_csv(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)