Spaces:
Sleeping
Sleeping
ProfessorLeVesseur
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ pc = Pinecone(api_key=PINECONE_API_KEY)
|
|
29 |
|
30 |
# Fetch LangSmith API key from Streamlit secrets
|
31 |
os.environ["LANGCHAIN_API_KEY"] = st.secrets["LANGCHAIN_API_KEY"]
|
|
|
32 |
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
33 |
os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
|
34 |
os.environ["LANGCHAIN_PROJECT"] = "Inkqa"
|
|
|
29 |
|
30 |
# Fetch LangSmith API key from Streamlit secrets
|
31 |
os.environ["LANGCHAIN_API_KEY"] = st.secrets["LANGCHAIN_API_KEY"]
|
32 |
+
os.environ["LANGCHAIN_API_KEY"] = str(os.environ["LANGCHAIN_API_KEY"])
|
33 |
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
34 |
os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
|
35 |
os.environ["LANGCHAIN_PROJECT"] = "Inkqa"
|