Spaces:
Sleeping
Sleeping
| # 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() |