Huzaifa367 commited on
Commit
f3a73fb
·
verified ·
1 Parent(s): 53e9d14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -89,7 +89,9 @@ def main():
89
  st.success("Processing Complete")
90
  user_question = st.text_input("Ask a question from the Docs")
91
  if user_question:
 
92
  user_input(user_question, api_key)
 
93
 
94
  # # Check if PDF documents are uploaded and processing is complete
95
  # if pdf_docs is not None and raw_text is not None:
 
89
  st.success("Processing Complete")
90
  user_question = st.text_input("Ask a question from the Docs")
91
  if user_question:
92
+ raw_text = get_pdf_text(pdf_docs)
93
  user_input(user_question, api_key)
94
+
95
 
96
  # # Check if PDF documents are uploaded and processing is complete
97
  # if pdf_docs is not None and raw_text is not None: