1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-15 08:13:16 +08:00

feat: TTS默认值修改

This commit is contained in:
涵曦
2026-01-17 13:13:06 +08:00
parent b8edae766a
commit cf331b8bf4
2 changed files with 2 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ class Config:
os.getenv("XIAOMUSIC_WEB_MUSIC_PROXY", "true").lower() == "true"
)
# edge-tts 语音角色
edge_tts_voice: str = os.getenv("XIAOMUSIC_EDGE_TTS_VOICE", "")
edge_tts_voice: str = os.getenv("XIAOMUSIC_EDGE_TTS_VOICE", "zh-CN-XiaoyiNeural")
# 是否启用定时清理临时文件
enable_auto_clean_temp: bool = (
os.getenv("XIAOMUSIC_ENABLE_AUTO_CLEAN_TEMP", "true").lower() == "true"

View File

@@ -31,7 +31,7 @@
<label for="did" style="display: flex;align-items: center;">选择播放设备:
<div class="toggle-switch-container" style="margin-left: auto;">
<label class="toggle-label">对话记录</label>
<label class="toggle-label">语音口令</label>
<div id="pullAskToggle" class="toggle-switch" onclick="togglePullAsk()">
<div class="toggle-slider"></div>
</div>