import os class Config: UPLOAD_FOLDER = 'uploads/' STATIC_FOLDER = 'static/images' MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # 16 MB ALLOWED_EXTENSIONS = {'jpg', 'jpeg', 'png', 'gif'}