Chandranshu Jain commited on
Commit
4f9a780
1 Parent(s): 8929888

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -82,9 +82,9 @@ def main():
82
  with st.sidebar:
83
  st.title("Menu:")
84
  pdf_docs = st.file_uploader("Upload your PDF Files and Click on the Submit & Process Button", accept_multiple_files=True, key="pdf_uploader")
85
- if st.button("Submit & Process", key="process_button"):
86
  with st.spinner("Processing..."):
87
- raw_text = get_pdf(pdf_docs)
88
- text_chunks = text_splitter(raw_text)
89
- embedding(text_chunks)
90
- st.success("Done")
 
82
  with st.sidebar:
83
  st.title("Menu:")
84
  pdf_docs = st.file_uploader("Upload your PDF Files and Click on the Submit & Process Button", accept_multiple_files=True, key="pdf_uploader")
85
+ if st.button("Submit & Process", key="process_button"):
86
  with st.spinner("Processing..."):
87
+ raw_text = get_pdf(pdf_docs)
88
+ text_chunks = text_splitter(raw_text)
89
+ embedding(text_chunks)
90
+ st.success("Done")