Sujith2121 commited on
Commit
079ee60
·
verified ·
1 Parent(s): f5757e2

Update app/core/settings.py

Browse files
Files changed (1) hide show
  1. app/core/settings.py +10 -0
app/core/settings.py CHANGED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from pydantic_settings import BaseSettings
2
+
3
+ class Settings(BaseSettings):
4
+ PROJECT_NAME:str="Drowsiness detection api"
5
+ DATABASE_URL:str="sqlite:///./drowsiness.db"
6
+ DEBUG:bool=True
7
+ class Config:
8
+ env_file=".env"
9
+
10
+ settings=Settings()