Tesneem commited on
Commit
ef818af
·
verified ·
1 Parent(s): e001c1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -477,7 +477,7 @@ def gate_ui():
477
  # ===== RETRIEVAL SETTINGS SIDEBAR =====
478
  def retrieval_settings():
479
  st.sidebar.header("Retrieval Settings")
480
- k_value = st.sidebar.slider("How many chunks to retrieve (k)", 5, 40, 20, 1)
481
  min_score = st.sidebar.slider("Minimum relevance score", 0.0, 1.0, 0.0, 0.01)
482
  topics_str = st.sidebar.text_input("Optional: Focus on specific topics (comma-separated)", "")
483
  topic_score = st.sidebar.slider("Topic relevance score", 0.0, 1.0, 0.0, 0.01)
 
477
  # ===== RETRIEVAL SETTINGS SIDEBAR =====
478
  def retrieval_settings():
479
  st.sidebar.header("Retrieval Settings")
480
+ k_value = st.sidebar.slider("How many chunks to retrieve (k)", 5, 40, 20,10, 1)
481
  min_score = st.sidebar.slider("Minimum relevance score", 0.0, 1.0, 0.0, 0.01)
482
  topics_str = st.sidebar.text_input("Optional: Focus on specific topics (comma-separated)", "")
483
  topic_score = st.sidebar.slider("Topic relevance score", 0.0, 1.0, 0.0, 0.01)