Spaces:
Sleeping
Sleeping
Update app/core/config.py
Browse files- app/core/config.py +2 -6
app/core/config.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
class Settings(BaseSettings):
|
| 4 |
TITLE: str = "Skin Cancer Detection API"
|
| 5 |
DESCRIPTION: str = "API for skin cancer classification and segmentation using TensorFlow models"
|
| 6 |
VERSION: str = "1.0.0"
|
|
@@ -11,8 +10,5 @@ class Settings(BaseSettings):
|
|
| 11 |
|
| 12 |
# Allowed extensions
|
| 13 |
ALLOWED_EXTENSIONS: set = {"jpg", "jpeg", "png"}
|
| 14 |
-
|
| 15 |
-
class Config:
|
| 16 |
-
env_file = ".env"
|
| 17 |
|
| 18 |
settings = Settings()
|
|
|
|
| 1 |
+
# app/core/config.py
|
| 2 |
+
class Settings:
|
|
|
|
| 3 |
TITLE: str = "Skin Cancer Detection API"
|
| 4 |
DESCRIPTION: str = "API for skin cancer classification and segmentation using TensorFlow models"
|
| 5 |
VERSION: str = "1.0.0"
|
|
|
|
| 10 |
|
| 11 |
# Allowed extensions
|
| 12 |
ALLOWED_EXTENSIONS: set = {"jpg", "jpeg", "png"}
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
settings = Settings()
|