Arthur-75 commited on
Commit
37603bc
1 Parent(s): 5bcbfd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def main():
54
  st.title("Information Retrieval System")
55
  query = st.text_input("Enter your question:")
56
 
57
- if st.button("Search") or query:
58
  sorted_docs = perform_search(query)
59
  st.session_state.sorted_docs = sorted_docs
60
 
 
54
  st.title("Information Retrieval System")
55
  query = st.text_input("Enter your question:")
56
 
57
+ if st.button("Search"):
58
  sorted_docs = perform_search(query)
59
  st.session_state.sorted_docs = sorted_docs
60