Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,9 @@ from huggingface_hub import CommitScheduler
|
|
31 |
from huggingface_hub import hf_hub_download
|
32 |
import zipfile
|
33 |
from langchain_community.vectorstores import Chroma
|
|
|
|
|
|
|
34 |
#from google.colab import userdata, drive
|
35 |
from pathlib import Path
|
36 |
from langchain.document_loaders import PyPDFDirectoryLoader
|
|
|
31 |
from huggingface_hub import hf_hub_download
|
32 |
import zipfile
|
33 |
from langchain_community.vectorstores import Chroma
|
34 |
+
from langchain_community.embeddings.sentence_transformer import (
|
35 |
+
SentenceTransformerEmbeddings
|
36 |
+
)
|
37 |
#from google.colab import userdata, drive
|
38 |
from pathlib import Path
|
39 |
from langchain.document_loaders import PyPDFDirectoryLoader
|