Huzaifa367 commited on
Commit
3f2c2fd
·
verified ·
1 Parent(s): b2a700f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,10 +94,10 @@ def main():
94
 
95
  if pdf_docs and st.success("Processing Complete"):
96
  with col1:
97
- raw_text = get_pdf_text(pdf_docs)
98
  user_question = st.text_input("Ask a question from the Docs")
99
  if user_question:
100
  user_input(user_question, api_key)
 
101
  else:
102
  with col1:
103
  st.write("Please upload a document first to ask questions.")
 
94
 
95
  if pdf_docs and st.success("Processing Complete"):
96
  with col1:
 
97
  user_question = st.text_input("Ask a question from the Docs")
98
  if user_question:
99
  user_input(user_question, api_key)
100
+ raw_text = get_pdf_text(pdf_docs)
101
  else:
102
  with col1:
103
  st.write("Please upload a document first to ask questions.")