Akshay Kumar BM commited on
Commit
67b0fe9
·
unverified ·
1 Parent(s): 9213b06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -16,15 +16,15 @@ from dotenv import load_dotenv
16
 
17
  class ContentProcessor:
18
  def __init__(self):
19
- load_dotenv()
20
- self.configure_environment()
21
  self.configure_streamlit()
22
 
23
  def configure_environment(self):
24
- #os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
25
- #os.environ['LANGCHAIN_TRACING_V2'] = "true"
26
- #os.environ['LANGCHAIN_PROJECT'] = "LangChain: Process Content from Multiple Sources"
27
- #os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
28
 
29
  def configure_streamlit(self):
30
  st.set_page_config(page_title="LangChain: Process Content from Multiple Sources", page_icon="🦜")
 
16
 
17
  class ContentProcessor:
18
  def __init__(self):
19
+ #load_dotenv()
20
+ #self.configure_environment()
21
  self.configure_streamlit()
22
 
23
  def configure_environment(self):
24
+ os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
25
+ os.environ['LANGCHAIN_TRACING_V2'] = "true"
26
+ os.environ['LANGCHAIN_PROJECT'] = "LangChain: Process Content from Multiple Sources"
27
+ os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"
28
 
29
  def configure_streamlit(self):
30
  st.set_page_config(page_title="LangChain: Process Content from Multiple Sources", page_icon="🦜")