Huzaifa367 commited on
Commit
574d29a
·
verified ·
1 Parent(s): 9b85808

Update pages/summarizer.py

Browse files
Files changed (1) hide show
  1. pages/summarizer.py +1 -3
pages/summarizer.py CHANGED
@@ -83,6 +83,7 @@ def main():
83
  st.set_page_config(layout="centered")
84
 
85
  with st.sidebar:
 
86
  st.header("Chat with PDF")
87
  # st.title("Menu:")
88
  pdf_docs = st.file_uploader("Upload your PDF Files and Click on the Submit Button", accept_multiple_files=True, type=["pdf"])
@@ -93,9 +94,6 @@ def main():
93
  get_vector_store(text_chunks, api_key)
94
  st.success("Done")
95
 
96
- if st.button("Summerize Chat"):
97
- st.switch_page('app.py')
98
-
99
  # Check if any document is uploaded
100
  if pdf_docs:
101
  user_question = st.text_input("Ask a question from the Docs")
 
83
  st.set_page_config(layout="centered")
84
 
85
  with st.sidebar:
86
+ st.switch_page('app.py')
87
  st.header("Chat with PDF")
88
  # st.title("Menu:")
89
  pdf_docs = st.file_uploader("Upload your PDF Files and Click on the Submit Button", accept_multiple_files=True, type=["pdf"])
 
94
  get_vector_store(text_chunks, api_key)
95
  st.success("Done")
96
 
 
 
 
97
  # Check if any document is uploaded
98
  if pdf_docs:
99
  user_question = st.text_input("Ask a question from the Docs")