DrishtiSharma commited on
Commit
9042074
Β·
verified Β·
1 Parent(s): 15dbb7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -151,6 +151,7 @@ st.write("πŸ“‚ **Vector Store Created:**", st.session_state.vector_created)
151
 
152
 
153
  # ----------------- Query Input -----------------
 
154
  # Ensure the query input appears ONLY after the document is fully processed
155
  if st.session_state.pdf_loaded and st.session_state.chunked and st.session_state.vector_created:
156
  query = st.text_input("πŸ” Ask a question about the document:")
 
151
 
152
 
153
  # ----------------- Query Input -----------------
154
+ query = ""
155
  # Ensure the query input appears ONLY after the document is fully processed
156
  if st.session_state.pdf_loaded and st.session_state.chunked and st.session_state.vector_created:
157
  query = st.text_input("πŸ” Ask a question about the document:")