Do not raise errors if `.env` not found
Browse files
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(
|
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 |
|