Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -89,6 +89,8 @@ def main():
|
|
89 |
text_chunks = get_text_chunks(raw_text)
|
90 |
get_vector_store(text_chunks, api_key)
|
91 |
st.success("Processing Complete")
|
|
|
|
|
92 |
user_question = st.text_input("Ask a question from the Docs")
|
93 |
if user_question:
|
94 |
user_input(user_question, api_key)
|
|
|
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:
|
93 |
+
with col1:
|
94 |
user_question = st.text_input("Ask a question from the Docs")
|
95 |
if user_question:
|
96 |
user_input(user_question, api_key)
|