Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
|
|
32 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
33 |
|
34 |
# Fetch LangSmith API key from Streamlit secrets
|
35 |
-
|
36 |
# os.environ["LANGCHAIN_API_KEY"] = "ls__1819fb2979e44f0a9e410688d81c6390"
|
37 |
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
38 |
os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
|
|
|
32 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
33 |
|
34 |
# Fetch LangSmith API key from Streamlit secrets
|
35 |
+
os.environ["LANGCHAIN_API_KEY"] = st.secrets["LANGCHAIN_API_KEY"]
|
36 |
# os.environ["LANGCHAIN_API_KEY"] = "ls__1819fb2979e44f0a9e410688d81c6390"
|
37 |
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
38 |
os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
|