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:
teknium1
2026-03-17 03:53:35 -07:00
parent ef67037f8e
commit f613da4219

View File

@@ -1633,6 +1633,7 @@ def _check_espeak_ng() -> bool:
def _install_neutts_deps() -> bool:
"""Install NeuTTS dependencies with user approval. Returns True on success."""
import subprocess
import sys
# Check espeak-ng