Huzaifa367 commited on
Commit
0c11816
·
verified ·
1 Parent(s): 64b1361

Update app.py

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