ProfessorLeVesseur commited on
Commit
133af8f
·
verified ·
1 Parent(s): 1d0a715

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"