devasurya commited on
Commit
62f6c62
·
verified ·
1 Parent(s): 479d762

Update my_agent.py

Browse files
Files changed (1) hide show
  1. my_agent.py +5 -5
my_agent.py CHANGED
@@ -6,11 +6,11 @@ from langchain_community.tools import DuckDuckGoSearchRun
6
  import os
7
 
8
  # Load environment variables from .env file
9
- with open('.env') as f:
10
- for line in f:
11
- if line.strip() and not line.startswith('#'):
12
- key, value = line.strip().split('=', 1)
13
- os.environ[key] = value
14
 
15
 
16
 
 
6
  import os
7
 
8
  # Load environment variables from .env file
9
+ # with open('.env') as f:
10
+ # for line in f:
11
+ # if line.strip() and not line.startswith('#'):
12
+ # key, value = line.strip().split('=', 1)
13
+ # os.environ[key] = value
14
 
15
 
16