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