Tuana commited on
Commit
a5b24dd
1 Parent(s): d05f3cd

fixing small session state bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ if st.session_state.get("api_key_configured"):
61
  # Get results for query
62
  if run_query and top_k:
63
  reset_results()
64
- st.session_state.username = top_k
65
  with st.spinner("🔎"):
66
  try:
67
  st.session_state.result = query(top_k, pipeline)
 
61
  # Get results for query
62
  if run_query and top_k:
63
  reset_results()
64
+ st.session_state.top_k = top_k
65
  with st.spinner("🔎"):
66
  try:
67
  st.session_state.result = query(top_k, pipeline)