make tts use gpu by default. use --ttscpu to disable

This commit is contained in:
Concedo 2025-06-08 17:06:19 +08:00
parent 7132d6b15c
commit 669f80265b
2 changed files with 11 additions and 10 deletions

View file

@ -126,7 +126,7 @@
"else:\n",
" WCommand = \"\"\n",
"if TTSModel and WavTokModel and LoadTTSModel:\n",
" TTSCommand = f\"--ttsmodel {TTSModel} --ttswavtokenizer {WavTokModel} --ttsgpu\"\n",
" TTSCommand = f\"--ttsmodel {TTSModel} --ttswavtokenizer {WavTokModel}\"\n",
"else:\n",
" TTSCommand = \"\"\n",
"if EmbeddingsModel and LoadEmbeddingsModel:\n",