Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ from langchain.vectorstores import Chroma
|
|
17 |
from langchain.embeddings import HuggingFaceEmbeddings
|
18 |
import spacy
|
19 |
# Load the English model from SpaCy
|
20 |
-
|
|
|
21 |
|
22 |
def util_upload_file_and_return_list_docs(uploaded_files):
|
23 |
#util_del_cwd()
|
|
|
17 |
from langchain.embeddings import HuggingFaceEmbeddings
|
18 |
import spacy
|
19 |
# Load the English model from SpaCy
|
20 |
+
from spacy_download import load_spacy
|
21 |
+
nlp = load_spacy("en_core_web_sm")
|
22 |
|
23 |
def util_upload_file_and_return_list_docs(uploaded_files):
|
24 |
#util_del_cwd()
|