Spaces:
Sleeping
Sleeping
Commit
·
c6db65d
1
Parent(s):
05c190a
comment out loading local environmental params
Browse files- app/data_indexing.py +4 -4
app/data_indexing.py
CHANGED
|
@@ -6,10 +6,10 @@ from pinecone import ServerlessSpec
|
|
| 6 |
from langchain_community.vectorstores import Chroma
|
| 7 |
from langchain_openai import OpenAIEmbeddings
|
| 8 |
|
| 9 |
-
from dotenv import load_dotenv
|
| 10 |
-
# Specify the path to the .env file two directories up
|
| 11 |
-
env_path = Path(__file__).resolve().parents[2] / '.env'
|
| 12 |
-
load_dotenv(dotenv_path=env_path)
|
| 13 |
|
| 14 |
|
| 15 |
current_dir = Path(__file__).resolve().parent
|
|
|
|
| 6 |
from langchain_community.vectorstores import Chroma
|
| 7 |
from langchain_openai import OpenAIEmbeddings
|
| 8 |
|
| 9 |
+
# from dotenv import load_dotenv
|
| 10 |
+
# # Specify the path to the .env file two directories up
|
| 11 |
+
# env_path = Path(__file__).resolve().parents[2] / '.env'
|
| 12 |
+
# load_dotenv(dotenv_path=env_path)
|
| 13 |
|
| 14 |
|
| 15 |
current_dir = Path(__file__).resolve().parent
|