File size: 418 Bytes
f9be212
 
b4f97bd
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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()