Spaces:
Sleeping
Sleeping
Commit
•
62092ea
1
Parent(s):
6d0776d
Remove local settings
Browse files
main.py
CHANGED
@@ -7,11 +7,6 @@ from langchain.llms import HuggingFaceHub
|
|
7 |
from langchain_community.vectorstores import FAISS
|
8 |
from langchain_openai import OpenAIEmbeddings
|
9 |
|
10 |
-
from settings import SETTINGS
|
11 |
-
|
12 |
-
for setting, value in SETTINGS.items():
|
13 |
-
os.environ[setting] = value
|
14 |
-
|
15 |
client = qdrant_client.QdrantClient(
|
16 |
os.getenv("qdrant_host"), api_key=os.getenv("qdrant_key")
|
17 |
)
|
|
|
7 |
from langchain_community.vectorstores import FAISS
|
8 |
from langchain_openai import OpenAIEmbeddings
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
client = qdrant_client.QdrantClient(
|
11 |
os.getenv("qdrant_host"), api_key=os.getenv("qdrant_key")
|
12 |
)
|