diff --git a/annif/default_config.py b/annif/default_config.py index dfbf8e1b..bcd5061d 100644 --- a/annif/default_config.py +++ b/annif/default_config.py @@ -14,6 +14,7 @@ class Config(object): PROJECTS_CONFIG_PATH = os.environ.get("ANNIF_PROJECTS", default="") DATADIR = os.environ.get("ANNIF_DATADIR", default="data") INITIALIZE_PROJECTS = False + MAX_FORM_MEMORY_SIZE = 20_000_000 # Increase from Flask's default limit class ProductionConfig(Config):