Spaces:
Build error
Build error
Update app.py
Browse files
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=['
|
| 148 |
if xls_docs is not None:
|
| 149 |
-
df = pd.
|
|
|
|
|
|
|
| 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)
|