peter2000 commited on
Commit
a2f59a0
1 Parent(s): 2a53bc3

Update appStore/keyword_search.py

Browse files
Files changed (1) hide show
  1. appStore/keyword_search.py +1 -1
appStore/keyword_search.py CHANGED
@@ -82,7 +82,7 @@ def app():
82
  st.write("Filename: ", file.name)
83
 
84
  # load document
85
- documents = pre.load_document(temp.name, file)
86
  documents_processed = pre.preprocessing(documents)
87
  pipeline = start_haystack(documents_processed)
88
  #docs = pre.load_document(temp.name, file)
 
82
  st.write("Filename: ", file.name)
83
 
84
  # load document
85
+ documents = pre.load_document(file,temp.name)
86
  documents_processed = pre.preprocessing(documents)
87
  pipeline = start_haystack(documents_processed)
88
  #docs = pre.load_document(temp.name, file)