ali121300 commited on
Commit
1d431f1
1 Parent(s): b0dd4a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def main():
147
  pdf_docs = st.file_uploader(
148
  "Upload your PDFs here and click on 'Process'", accept_multiple_files=True
149
  )
150
- file_path = pdf_docs[0].name
151
  st.write( file_path)
152
  read_pdf_pr_en(pdf_file_path=file_path)
153
  if st.button("Process"):
 
147
  pdf_docs = st.file_uploader(
148
  "Upload your PDFs here and click on 'Process'", accept_multiple_files=True
149
  )
150
+ file_path = pdf_docs.name
151
  st.write( file_path)
152
  read_pdf_pr_en(pdf_file_path=file_path)
153
  if st.button("Process"):