Spaces:
Runtime error
Runtime error
Update appStore/keyword_search.py
Browse files
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
|
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)
|