Huzaifa367 commited on
Commit
26a8665
·
verified ·
1 Parent(s): 7cb6e9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def main():
89
  text_chunks = get_text_chunks(raw_text)
90
  get_vector_store(text_chunks, api_key)
91
  st.success("Processing Complete")
92
- if pdf_docs and col1.button("Submit"):
93
  with col1:
94
  raw_text = get_pdf_text(pdf_docs)
95
  user_question = st.text_input("Ask a question from the Docs")
 
89
  text_chunks = get_text_chunks(raw_text)
90
  get_vector_store(text_chunks, api_key)
91
  st.success("Processing Complete")
92
+ if pdf_docs and st.success("Processing Complete"):
93
  with col1:
94
  raw_text = get_pdf_text(pdf_docs)
95
  user_question = st.text_input("Ask a question from the Docs")