Update app/core/settings.py
Browse files- 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()
|