Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|