Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,6 +96,7 @@ def main():
|
|
96 |
text_chunks = get_text_chunks(raw_text)
|
97 |
get_vector_store(text_chunks, api_key)
|
98 |
st.success("Done")
|
|
|
99 |
user_question = st.text_input("Ask a question from the Docs")
|
100 |
user_input(user_question, api_key)
|
101 |
|
|
|
96 |
text_chunks = get_text_chunks(raw_text)
|
97 |
get_vector_store(text_chunks, api_key)
|
98 |
st.success("Done")
|
99 |
+
if pdf_docs:
|
100 |
user_question = st.text_input("Ask a question from the Docs")
|
101 |
user_input(user_question, api_key)
|
102 |
|