fix: add missing subprocess import in _install_neutts_deps
The function uses subprocess.run() and subprocess.CalledProcessError but never imported the module. This caused a NameError crash during setup when users selected NeuTTS as their TTS provider. Fixes #1698
This commit is contained in:
parent
ef67037f8e
commit
f613da4219
1 changed files with 1 additions and 0 deletions
|
|
@ -1633,6 +1633,7 @@ def _check_espeak_ng() -> bool:
|
||||||
|
|
||||||
def _install_neutts_deps() -> bool:
|
def _install_neutts_deps() -> bool:
|
||||||
"""Install NeuTTS dependencies with user approval. Returns True on success."""
|
"""Install NeuTTS dependencies with user approval. Returns True on success."""
|
||||||
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Check espeak-ng
|
# Check espeak-ng
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue