Jai12345 commited on
Commit
10ca2b8
β€’
1 Parent(s): 8f3010c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -151,18 +151,10 @@ def display_as_table(model, top_k, score='score'):
151
 
152
  # Streamlit App
153
 
154
- st.title("Semantic Search with Retrieve & Rerank πŸ“")
155
 
156
- window_size = st.sidebar.slider("Paragraph Window Size", min_value=1, max_value=10, value=3, key=
157
- 'slider')
158
 
159
- bi_encoder_type = st.sidebar.selectbox("Bi-Encoder", options=bi_enc_options, key='sbox')
160
-
161
- top_k = st.sidebar.slider("Number of Top Hits Generated", min_value=1, max_value=5, value=2)
162
-
163
-
164
- # This function will search all wikipedia articles for passages that
165
- # answer the query
166
  def search_func(query, top_k=top_k):
167
  global bi_encoder, cross_encoder
168
 
 
151
 
152
  # Streamlit App
153
 
154
+ st.title("Search with Retrieve & Rerank")
155
 
 
 
156
 
157
+ # This function will search all wikipedia articles for passages that answer the query
 
 
 
 
 
 
158
  def search_func(query, top_k=top_k):
159
  global bi_encoder, cross_encoder
160