Huzaifa367 commited on
Commit
4f3cdb9
·
verified ·
1 Parent(s): 8cb7b5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -102,7 +102,9 @@ def main():
102
  user_input(user_question, api_key)
103
  else:
104
  st.write("Please upload PDF documents to proceed.")
105
-
 
 
106
  # # Check if any document is uploaded
107
  # if pdf_docs:
108
  # user_question = st.text_input("Ask a question from the Docs")
 
102
  user_input(user_question, api_key)
103
  else:
104
  st.write("Please upload PDF documents to proceed.")
105
+
106
+ if raw_text:
107
+ get_pdf_text(pdf_docs)
108
  # # Check if any document is uploaded
109
  # if pdf_docs:
110
  # user_question = st.text_input("Ask a question from the Docs")