peter2000 commited on
Commit
072536c
β€’
1 Parent(s): 9df5b3c

Update appStore/keyword_search.py

Browse files
Files changed (1) hide show
  1. appStore/keyword_search.py +0 -3
appStore/keyword_search.py CHANGED
@@ -91,14 +91,11 @@ def app():
91
  documents = pre.load_document(temp.name,file_name)
92
  documents_processed = pre.preprocessing(documents)
93
  pipeline = start_haystack(documents_processed )
94
-
95
 
96
-
97
  with st.spinner("πŸ‘‘ Performing semantic search on"):#+file.name+"..."):
98
  try:
99
  msg = 'Asked ' + question
100
  logging.info(msg)
101
- pipeline = st.session_state['pipeline']
102
  results = ask_question(question,pipeline)
103
  st.write('## Top Results')
104
  #st.write(results)
 
91
  documents = pre.load_document(temp.name,file_name)
92
  documents_processed = pre.preprocessing(documents)
93
  pipeline = start_haystack(documents_processed )
 
94
 
 
95
  with st.spinner("πŸ‘‘ Performing semantic search on"):#+file.name+"..."):
96
  try:
97
  msg = 'Asked ' + question
98
  logging.info(msg)
 
99
  results = ask_question(question,pipeline)
100
  st.write('## Top Results')
101
  #st.write(results)