Huzaifa367 commited on
Commit
9107c62
·
verified ·
1 Parent(s): 1925f84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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