Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from langchain_core.messages import (
|
|
| 16 |
from langchain_huggingface import ChatHuggingFace
|
| 17 |
from langchain_core.output_parsers import StrOutputParser
|
| 18 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 19 |
-
from qdrant_client import QdrantClient
|
| 20 |
from dotenv import load_dotenv
|
| 21 |
import pkg_resources
|
| 22 |
load_dotenv()
|
|
@@ -34,7 +34,7 @@ HF_token = os.environ["HF_TOKEN"]
|
|
| 34 |
# hence, comment out line below when creating for first time
|
| 35 |
vectorstores = process_pdf()
|
| 36 |
# once the vectore embeddings are created we will qdrant client to access these
|
| 37 |
-
client = QdrantClient(path="./data/local_qdrant")
|
| 38 |
|
| 39 |
# -------------------------------------------------------------
|
| 40 |
# Functions
|
|
|
|
| 16 |
from langchain_huggingface import ChatHuggingFace
|
| 17 |
from langchain_core.output_parsers import StrOutputParser
|
| 18 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 19 |
+
#from qdrant_client import QdrantClient
|
| 20 |
from dotenv import load_dotenv
|
| 21 |
import pkg_resources
|
| 22 |
load_dotenv()
|
|
|
|
| 34 |
# hence, comment out line below when creating for first time
|
| 35 |
vectorstores = process_pdf()
|
| 36 |
# once the vectore embeddings are created we will qdrant client to access these
|
| 37 |
+
#client = QdrantClient(path="./data/local_qdrant")
|
| 38 |
|
| 39 |
# -------------------------------------------------------------
|
| 40 |
# Functions
|