Spaces:
Runtime error
Runtime error
Update app/main.py
Browse files- app/main.py +3 -1
app/main.py
CHANGED
|
@@ -9,8 +9,10 @@ from langchain.embeddings import OpenAIEmbeddings
|
|
| 9 |
from langchain_community.vectorstores import Chroma
|
| 10 |
from helper import retrieve_relevant_context, generate_response_with_context
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Load relevant API Keys
|
| 13 |
-
file_path = '
|
| 14 |
|
| 15 |
with open(file_path, 'r') as file:
|
| 16 |
api_keys = yaml.safe_load(file)
|
|
|
|
| 9 |
from langchain_community.vectorstores import Chroma
|
| 10 |
from helper import retrieve_relevant_context, generate_response_with_context
|
| 11 |
|
| 12 |
+
print("PWD :",pwd)
|
| 13 |
+
print("CWD :",os.getcwd())
|
| 14 |
# Load relevant API Keys
|
| 15 |
+
file_path = '../Config/API_KEYS.yml'
|
| 16 |
|
| 17 |
with open(file_path, 'r') as file:
|
| 18 |
api_keys = yaml.safe_load(file)
|