Load .env

This commit is contained in:
MMaker 2025-02-25 16:28:12 -05:00
parent e532c45a92
commit add8f1bbde
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2
2 changed files with 4 additions and 1 deletions

2
app.py
View File

@ -14,6 +14,8 @@ import nndownload
import boto3
from botocore.client import Config as BotoConfig
from dotenv import load_dotenv
load_dotenv()
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

View File

@ -3,4 +3,5 @@ Flask==3.1.0
Requests==2.32.3
diskcache==5.6.3
nndownload==1.19
boto3
boto3
python-dotenv