mirror of
https://github.com/hanxi/xiaomusic.git
synced 2026-03-15 08:13:16 +08:00
feat: TTS默认值修改
This commit is contained in:
@@ -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"
|
||||
|
||||
2
xiaomusic/static/default/index.html
vendored
2
xiaomusic/static/default/index.html
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user