Markdown-Layout-Extractor / development.yml
Deep Chavda
chore: migrate deployment to Hugging Face Spaces
94961c3
# ─── Mistral ───────────────────────────────────────────────────────────────────
MISTRAL_OCR_MODEL: mistral-ocr-latest
MISTRAL_TABLE_FORMAT: markdown
# ─── Server ────────────────────────────────────────────────────────────────────
# Local defaults β€” HF Spaces overrides HOST (0.0.0.0) via Space secrets.
# PORT must be 7860 for HF Spaces to detect and route the container.
APP_NAME: "Markdown & Layout Extractor"
HOST: "127.0.0.1"
PORT: 7860
LOG_LEVEL: INFO
# ─── CORS ──────────────────────────────────────────────────────────────────────
CORS_ALLOW_ORIGINS:
- "*"
CORS_ALLOW_METHODS:
- "*"
CORS_ALLOW_HEADERS:
- "*"