claude / config.yaml
newbzhen's picture
Update config.yaml
5dfdebd verified
raw
history blame contribute delete
561 Bytes
# 监听地址和端口
host: "0.0.0.0"
port: 7860 # Hugging Face Spaces 强制要求的端口
# 认证数据存储目录
# Hugging Face Spaces 建议使用 /data 目录,如果你开启了 Persistent Storage,这个目录的数据会持久保存
auth-dir: "/data"
# 远程管理配置 (Web UI)
remote-management:
allow-remote: true
# 请务必修改下面的密钥,用于登录管理后台
secret-key: "REPLACE_ME_WITH_ENV"
# 是否禁用控制面板 (设为 false 开启 Web UI)
disable-control-panel: false
# 调试模式 (可选)
debug: true