megamined commited on
Commit
0399d44
1 Parent(s): b36a86c

Do not raise errors if `.env` not found

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -8,7 +8,7 @@ from simpleaichat import AIChat
8
  from utils.google_serper import GoogleSerper
9
  from utils.weather_forecast import WeatherAPI
10
 
11
- load_dotenv(find_dotenv(raise_error_if_not_found=True))
12
 
13
  local_dir = Path(getenv("LOCAL_DIR"))
14
 
 
8
  from utils.google_serper import GoogleSerper
9
  from utils.weather_forecast import WeatherAPI
10
 
11
+ load_dotenv(find_dotenv())
12
 
13
  local_dir = Path(getenv("LOCAL_DIR"))
14