glmocrdemo/.env.example

21 lines
385 B
Plaintext
Raw Normal View History

# Application
APP_NAME=GLM OCR Demo
APP_VERSION=0.1.0
DEBUG=true
# Server
HOST=0.0.0.0
PORT=8000
# Database
DATABASE_URL=sqlite:///./app.db
# Security
SECRET_KEY=your-secret-key-here-change-in-production
# GLM-OCR Model
# 模型路径: 可以是 Hugging Face 模型 ID (如 zai-org/GLM-OCR)
# 或本地路径 (如 /path/to/local/model)
MODEL_PATH=zai-org/GLM-OCR
MODEL_DEVICE=auto