Spaces:
Runtime error
Runtime error
remove open api key
Browse files- src/app.py +0 -2
src/app.py
CHANGED
@@ -8,8 +8,6 @@ from langchain_openai import ChatOpenAI
|
|
8 |
from langchain.prompts import ChatPromptTemplate
|
9 |
import os
|
10 |
|
11 |
-
os.environ["OPENAI_API_KEY"] = "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"
|
12 |
-
|
13 |
# Connect DB
|
14 |
client = pymongo.MongoClient(
|
15 |
"mongodb+srv://rag:[email protected]/?retryWrites=true&w=majority&appName=RAG"
|
|
|
8 |
from langchain.prompts import ChatPromptTemplate
|
9 |
import os
|
10 |
|
|
|
|
|
11 |
# Connect DB
|
12 |
client = pymongo.MongoClient(
|
13 |
"mongodb+srv://rag:[email protected]/?retryWrites=true&w=majority&appName=RAG"
|