Z-Image / .env.example
AndrewKapok's picture
Upload .env.example with huggingface_hub
fe345ca verified
raw
history blame contribute delete
394 Bytes
# 模型配置
MODEL_NAME=qwen/qwen-image-2512
MODEL_REVISION=main
MODEL_DIR=./models
# 推理配置
DEVICE=cpu
MAX_MEMORY_CPU=16GB
NUM_THREADS=4
NUM_INTEROP_THREADS=2
# API配置
REQUEST_LIMIT=100
REQUEST_WINDOW=60
# 日志配置
LOG_LEVEL=info
LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
# Web UI配置
UI_TITLE="Qwen-Image-2512 文本到图像生成"
UI_THEME=soft