Download mast_validate/limits.py from sahel-sh/submit: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/sahel-sh/submit/resolve/main/mast_validate/limits.py
- Command line
-
hf download hf://spaces/sahel-sh/submit/mast_validate/limits.py
-
curl -L -o limits.py https://huggingface.co/spaces/sahel-sh/submit/resolve/main/mast_validate/limits.py
348 Bytes
| """Size limits. Module attributes so tests and the Space can override them.""" | |
| MAX_COMPRESSED_BYTES = 200 * 1024 * 1024 # per uploaded file (on disk / in zip) | |
| MAX_DECOMPRESSED_BYTES = 2 * 1024 * 1024 * 1024 # per file after gzip/zip inflation | |
| MAX_LINE_BYTES = 64 * 1024 * 1024 # a single record larger than this is rejected | |