feat: add script tts backend
This commit is contained in:
@@ -55,6 +55,15 @@ emotion:
|
||||
# 文件上传路径 - 生产环境
|
||||
upload:
|
||||
path: /data/uploads/emotion-museum
|
||||
|
||||
# Text-to-speech config
|
||||
tts:
|
||||
enabled: true
|
||||
engine-url: http://127.0.0.1:19110
|
||||
output-dir: /data/uploads/emotion-museum/tts
|
||||
public-url-prefix: /tts/audio
|
||||
max-text-length: 5000
|
||||
default-voice: default_zh_female
|
||||
|
||||
# 生产模式配置
|
||||
prod:
|
||||
|
||||
@@ -93,6 +93,15 @@ emotion:
|
||||
max-file-size: 10MB
|
||||
allowed-types: jpg,jpeg,png,gif,pdf,doc,docx
|
||||
|
||||
# Text-to-speech config
|
||||
tts:
|
||||
enabled: true
|
||||
engine-url: http://127.0.0.1:19110
|
||||
output-dir: /data/uploads/emotion-museum/tts
|
||||
public-url-prefix: /tts/audio
|
||||
max-text-length: 5000
|
||||
default-voice: default_zh_female
|
||||
|
||||
# 安全配置
|
||||
security:
|
||||
ignore-urls:
|
||||
|
||||
Reference in New Issue
Block a user