Skier8402 commited on
Commit
104fce7
ยท
1 Parent(s): 0c2faf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ Credit: https://www.youtube.com/@alejandro_ao ๐Ÿ‘Š๐Ÿฟ
14
  from langchain.agents import create_csv_agent
15
  from langchain.chat_models import ChatOpenAI
16
  from langchain.agents.agent_types import AgentType
17
- from dotenv import load_dotenv
18
  import os
19
  import pandas as pd
20
  import streamlit as st
@@ -42,7 +42,7 @@ def main():
42
  os.environ["OPENAI_API_KEY"] = openai_api_key
43
 
44
  # load the api key from the .env file
45
- load_dotenv()
46
 
47
  # inform the user that the api key is loaded
48
  if os.getenv("OPENAI_API_KEY") is None or os.getenv("OPENAI_API_KEY") == "":
 
14
  from langchain.agents import create_csv_agent
15
  from langchain.chat_models import ChatOpenAI
16
  from langchain.agents.agent_types import AgentType
17
+ #from dotenv import load_dotenv
18
  import os
19
  import pandas as pd
20
  import streamlit as st
 
42
  os.environ["OPENAI_API_KEY"] = openai_api_key
43
 
44
  # load the api key from the .env file
45
+ #load_dotenv()
46
 
47
  # inform the user that the api key is loaded
48
  if os.getenv("OPENAI_API_KEY") is None or os.getenv("OPENAI_API_KEY") == "":