api / app /core /config.py
Omarelrayes's picture
Update app/core/config.py
f9be212 verified
Raw
History Blame Contribute Delete
418 Bytes
# app/core/config.py
class Settings:
TITLE: str = "Skin Cancer Detection API"
DESCRIPTION: str = "API for skin cancer classification and segmentation using TensorFlow models"
VERSION: str = "1.0.0"
# Image settings
IMAGE_SIZE: int = 224
MAX_FILE_SIZE: int = 10 * 1024 * 1024 # 10 MB
# Allowed extensions
ALLOWED_EXTENSIONS: set = {"jpg", "jpeg", "png"}
settings = Settings()