F5-TTS-pt-br / config.yaml
fuuuzzy's picture
Upload folder using huggingface_hub
7c71fa7 verified
app:
host: '0.0.0.0'
port: 8000
debug: false
api_username: admin
api_password: admin
# Redis 配置
redis:
host: 'localhost'
port: 6379
db: 0
password: null
queue_key: 'tts:generate'
queue_key_hash: 'tts:generate_hash'
upload_queue_key: 'tts:upload'
max_connections: 5
# Cloudflare R2 配置
r2:
access_key_id: '2c4cef629ca75ffe03376206c0a3e365'
secret_access_key: '42cb6c0dedd621bbe2a38eb52c5d4b4738d69038705020c8cd14018dcc30ee53'
bucket_name: 'ls-tts'
endpoint_url: 'https://3322fcf6693dc79f8e04aa2f4918bc44.r2.cloudflarestorage.com'
public_url: 'https://tts.luckyshort.net'
# TTS 服务配置
tts:
checkpoint_file: 'pt-br/model_last.safetensors' # 模型文件路径
vocab_file: 'vocab.txt' # 词表文件 (如果需要)
vocoder_name: 'vocos' # 默认 vocoder
remove_silence: true
speed: 1.0
device: 'cuda' # 'cuda' or 'cpu'
# 路径配置
voices_dir: 'data/voices' # 参考音频缓存目录
output_dir: 'data/outputs' # 生成结果临时目录
uvr5:
model_dir: './models/uvr5'
output_dir: './temp/uvr5'
uvr5_model: 'UVR-MDX-NET-Inst_HQ_4' # UVR5 模型名称