ali121300 commited on
Commit
41ffbb8
1 Parent(s): f0f7fcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -140,11 +140,8 @@ def main():
140
  pdf_docs = st.file_uploader(
141
  "Upload your PDFs here and click on 'Process'", accept_multiple_files=True
142
  )
143
- if pdf_docs:
144
- # مسیر فایل آپلود شده را بدست آورید
145
- full_text=read_pdf_pr_en(pdf_reader=pdf_docs)
146
- pdf_docs=full_text
147
- st.write(pdf_docs)
148
  if st.button("Process"):
149
  with st.spinner("Processing"):
150
  st.write(pdf_docs)
 
140
  pdf_docs = st.file_uploader(
141
  "Upload your PDFs here and click on 'Process'", accept_multiple_files=True
142
  )
143
+ file_path = pdf_docs[0].name
144
+ st.write( file_path)
 
 
 
145
  if st.button("Process"):
146
  with st.spinner("Processing"):
147
  st.write(pdf_docs)