peter2000 commited on
Commit
a08237b
1 Parent(s): 9aad845

Update appStore/keyword_search.py

Browse files
Files changed (1) hide show
  1. appStore/keyword_search.py +4 -14
appStore/keyword_search.py CHANGED
@@ -67,12 +67,9 @@ def app():
67
  st.write(' ')
68
 
69
  with st.expander("ℹ️ - About this app", expanded=False):
70
-
71
- st.write(
72
- """
73
  The *Keyword Search* app is an easy-to-use interface built in Streamlit for doing keyword search in policy document - developed by GIZ Data and the Sustainable Development Solution Network.
74
- """
75
- )
76
 
77
  st.markdown("")
78
  #st.markdown("")
@@ -97,16 +94,9 @@ def app():
97
  documents = pre.load_document(temp.name,file_name)
98
  documents_processed = pre.preprocessing(documents)
99
  pipeline = start_haystack(documents_processed)
100
- #docs = pre.load_document(temp.name, file)
101
-
102
- # preprocess document
103
- #haystackDoc, dataframeDoc, textData, paraList = clean.preprocessing(docs)
104
-
105
-
106
-
107
-
108
  #if st.button("Find them."):
109
- with st.spinner("👑 Performing semantic search on"):#+file.name+"..."):
110
  try:
111
  msg = 'Asked ' + question
112
  logging.info(msg)
 
67
  st.write(' ')
68
 
69
  with st.expander("ℹ️ - About this app", expanded=False):
70
+ st.write("""
 
 
71
  The *Keyword Search* app is an easy-to-use interface built in Streamlit for doing keyword search in policy document - developed by GIZ Data and the Sustainable Development Solution Network.
72
+ """)
 
73
 
74
  st.markdown("")
75
  #st.markdown("")
 
94
  documents = pre.load_document(temp.name,file_name)
95
  documents_processed = pre.preprocessing(documents)
96
  pipeline = start_haystack(documents_processed)
97
+
 
 
 
 
 
 
 
98
  #if st.button("Find them."):
99
+ with st.spinner("👑 Performing semantic search on"):#+file.name+"..."):
100
  try:
101
  msg = 'Asked ' + question
102
  logging.info(msg)