Spaces:
Sleeping
Sleeping
File size: 805 Bytes
4e37375 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # 开发环境配置
app:
name: "音频转文字服务"
version: "1.0.0"
debug: true
host: "127.0.0.1"
port: 7860
max_file_size: 2147483648 # 2GB
max_files_count: 100
concurrent_tasks: 5
# OSS配置
oss:
endpoint: "oss-cn-beijing.aliyuncs.com"
bucket_name: "audio-transcript-dev"
upload_timeout: 300
url_expire_hours: 24
temp_prefix: "temp/audio"
auto_cleanup_days: 7
# 阿里云百炼API配置
dashscope:
base_url: "https://dashscope.aliyuncs.com/api/v1"
model: "paraformer-v2"
timeout: 300
max_retries: 3
retry_delay: 5
language_hints: ["zh", "en"]
# 任务配置
task:
status_check_interval: 2
max_processing_time: 3600 # 1小时
queue_size: 1000
# 日志配置
logging:
level: "DEBUG"
format: "detailed"
file_max_size: "10MB"
backup_count: 5 |