Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|