cakiki commited on
Commit
eefd1fd
1 Parent(s): 562c654

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ def result_html(result):
25
 
26
 
27
  discussion = st.selectbox(
28
- 'How would you like to be contacted?',
29
  index_locations.keys())
30
  searcher = LuceneSearcher(index_locations[discussion])
31
  searcher.set_rm3()
@@ -46,7 +46,7 @@ with col2:
46
 
47
 
48
  if search_query or button_clicked:
49
- search_results = searcher.search(query, k=10)
50
  for result in search_results:
51
  st.write(result_html(result), unsafe_allow_html=True)
52
 
 
25
 
26
 
27
  discussion = st.selectbox(
28
+ 'Choose discussion',
29
  index_locations.keys())
30
  searcher = LuceneSearcher(index_locations[discussion])
31
  searcher.set_rm3()
 
46
 
47
 
48
  if search_query or button_clicked:
49
+ search_results = searcher.search(search_query, k=10)
50
  for result in search_results:
51
  st.write(result_html(result), unsafe_allow_html=True)
52