Spaces:
Build error
Build error
Download src/python-doctr/api/app/config.py from MikeTrizna/doctr_demo_fork: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/spaces/MikeTrizna/doctr_demo_fork/resolve/main/src/python-doctr/api/app/config.py
- Command line
-
hf download hf://spaces/MikeTrizna/doctr_demo_fork/src/python-doctr/api/app/config.py
-
curl -L -o config.py https://huggingface.co/spaces/MikeTrizna/doctr_demo_fork/resolve/main/src/python-doctr/api/app/config.py
416 Bytes
| # Copyright (C) 2021-2025, Mindee. | |
| # This program is licensed under the Apache License 2.0. | |
| # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details. | |
| import os | |
| import doctr | |
| PROJECT_NAME: str = "docTR API template" | |
| PROJECT_DESCRIPTION: str = "Template API for Optical Character Recognition" | |
| VERSION: str = doctr.__version__ | |
| DEBUG: bool = os.environ.get("DEBUG", "") != "False" | |